Skip to content

Commit 6754910

Browse files
committed
Update comments
1 parent 7cac7b2 commit 6754910

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: build.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
use std::env;
55

66
fn main() {
7+
// Depend on this file to prevent rebuilding on any change - see #1173 for details
8+
println!("cargo:rerun-if-changed=build.rs");
9+
710
// Re-export $TARGET during the build so that our executable tests know
811
// what environment variable CARGO_TARGET_@TARGET@_RUNNER to check when
912
// they want to spawn off executables.
10-
11-
println!("cargo:rerun-if-changed=build.rs");
1213
let target = env::var("TARGET").unwrap();
1314
println!("cargo:rustc-env=TARGET={target}");
1415
}

0 commit comments

Comments
 (0)