Skip to content
Myr

Include env-dep:RUSTC_BOOTSTRAP in dep-info for sccache

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 04774c0 · Browse files · 2 files+4 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−1 removed

  • other:+4 added−1 removed

2 files+4 added−1 removed

modified:build/probe.rs+3 added
28 unmodified lines
29 }30}3132const _: fn(&dyn Error) -> Option<&Backtrace> = |err| error::request_ref::<Backtrace>(err);3334// Include in sccache cache key.35const _: Option<&str> = option_env!("RUSTC_BOOTSTRAP");
modified:build.rs+1 added-1 removed
119 unmodified lines
120 cmd.stderr(Stdio::null())121 .arg("--edition=2018")122 .arg("--crate-name=anyhow")123 .arg("--crate-type=lib")124 .arg("--emit=metadata")124 .arg("--emit=dep-info,metadata")125 .arg("--out-dir")126 .arg(out_dir)127 .arg(probefile);128
39 unmodified lines