File tree 2 files changed +20
-0
lines changed
compile-benchmarks/cargo-0.60.0
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
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"]
Original file line number Diff line number Diff line change @@ -16,6 +16,14 @@ fn determinism_env(cmd: &mut Command) {
16
16
// what the actual change between two artifacts is.
17
17
cmd. env ( "RUSTC_FORCE_INCR_COMP_ARTIFACT_HEADER" , "rustc-perf" ) ;
18
18
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
+ }
19
27
}
20
28
21
29
fn run_with_determinism_env ( mut cmd : Command ) {
You can’t perform that action at this time.
0 commit comments