Skip to content

Commit 3f250a5

Browse files
committed
fix autocfg
1 parent 0496037 commit 3f250a5

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/Cargo.toml b/Cargo.toml
2+
index 12ee1eec..9a92219e 100644
3+
--- a/Cargo.toml
4+
+++ b/Cargo.toml
5+
@@ -205,6 +205,7 @@ version = "0.4.26"
6+
default-features = false
7+
8+
[features]
9+
+default = [ "vendored-openssl" ]
10+
deny-warnings = []
11+
pretty-env-logger = ["pretty_env_logger"]
12+
vendored-openssl = ["openssl/vendored"]

collector/src/bin/rustc-fake.rs

+8
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ fn determinism_env(cmd: &mut Command) {
1616
// what the actual change between two artifacts is.
1717
cmd.env("RUSTC_FORCE_INCR_COMP_ARTIFACT_HEADER", "rustc-perf");
1818
cmd.env("RUSTC_FORCE_RUSTC_VERSION", "rustc-perf");
19+
20+
// fix rustc
21+
if let Some(rustc) = env::var_os("RUSTC_REAL") {
22+
cmd.env("RUSTC", rustc);
23+
}
24+
if let Some(rustdoc) = env::var_os("RUSTDOC_REAL") {
25+
cmd.env("RUSTDOC", rustc);
26+
}
1927
}
2028

2129
fn run_with_determinism_env(mut cmd: Command) {

0 commit comments

Comments
 (0)