Skip to content

Commit 5dc032c

Browse files
jsharpeUebelAndre
andauthored
Update cargo/tests/cargo_build_script/nondeterministic_out_dir/test.rs
Co-authored-by: UebelAndre <github@uebelandre.com>
1 parent 5ac1e80 commit 5dc032c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • cargo/tests/cargo_build_script/nondeterministic_out_dir

cargo/tests/cargo_build_script/nondeterministic_out_dir/test.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
// include_str! resolves at compile time against the TreeArtifact captured by Bazel.
2-
// If the runner failed to strip config.log / *.d / *.pc files, the TreeArtifact hash
3-
// would change on every run, causing unnecessary rebuilds for all downstream crates.
1+
//! include_str! resolves at compile time against the TreeArtifact captured by Bazel.
2+
//! If the runner failed to strip config.log / *.d / *.pc files, the TreeArtifact hash
3+
//! would change on every run, causing unnecessary rebuilds for all downstream crates.
4+
45
const OUTPUT: &str = include_str!(concat!(env!("OUT_DIR"), "/output.txt"));
56

67
#[test]

0 commit comments

Comments
 (0)