We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04774c0 + 17e252b commit 60705a5Copy full SHA for 60705a5
build.rs
@@ -121,7 +121,7 @@ fn compile_probe(rustc_bootstrap: bool) -> bool {
121
.arg("--edition=2018")
122
.arg("--crate-name=anyhow")
123
.arg("--crate-type=lib")
124
- .arg("--emit=metadata")
+ .arg("--emit=dep-info,metadata")
125
.arg("--out-dir")
126
.arg(out_dir)
127
.arg(probefile);
build/probe.rs
@@ -30,3 +30,6 @@ impl Error for MyError {
30
}
31
32
const _: fn(&dyn Error) -> Option<&Backtrace> = |err| error::request_ref::<Backtrace>(err);
33
+
34
+// Include in sccache cache key.
35
+const _: Option<&str> = option_env!("RUSTC_BOOTSTRAP");
0 commit comments