mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
parent
cdda9008a3
commit
db7afeba4e
@ -1526,11 +1526,14 @@ See https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-change
|
||||
.collect::<CargoResult<Vec<_>>>()?
|
||||
};
|
||||
|
||||
let rustflags = build_runner.bcx.rustflags_args(unit).to_vec();
|
||||
|
||||
Ok(Fingerprint {
|
||||
local: Mutex::new(local),
|
||||
rustc: util::hash_u64(&build_runner.bcx.rustc().verbose_version),
|
||||
deps,
|
||||
outputs: if overridden { Vec::new() } else { vec![output] },
|
||||
rustflags,
|
||||
|
||||
// Most of the other info is blank here as we don't really include it
|
||||
// in the execution of the build script, but... this may be a latent
|
||||
|
@ -5578,6 +5578,9 @@ fn build_script_rerun_when_target_rustflags_change() {
|
||||
[RUNNING] [..]
|
||||
",
|
||||
)
|
||||
.with_stdout("")
|
||||
.with_stdout(
|
||||
"\
|
||||
hello",
|
||||
)
|
||||
.run();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user