We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fefc69a commit 3730fe3Copy full SHA for 3730fe3
src/test/run-make-fulldeps/reproducible-build/linker.rs
@@ -25,6 +25,12 @@ fn main() {
25
let mut contents = Vec::new();
26
File::open(path).unwrap().read_to_end(&mut contents).unwrap();
27
28
+ // This file is produced during linking in a temporary directory.
29
+ let arg = if arg.ends_with("/symbols.o") {
30
+ "symbols.o"
31
+ } else {
32
+ &*arg
33
+ };
34
out.push_str(&format!("{}: {}\n", arg, hash(&contents)));
35
}
36
0 commit comments