Skip to content

Commit d8e22eb

Browse files
committed
Use a patched version of rustc-build-sysroot
1 parent 6d859bf commit d8e22eb

File tree

3 files changed

+10
-15
lines changed

3 files changed

+10
-15
lines changed

Cargo.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
701701
checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c"
702702
dependencies = [
703703
"lazy_static",
704-
"windows-sys 0.59.0",
704+
"windows-sys 0.48.0",
705705
]
706706

707707
[[package]]
@@ -1147,7 +1147,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
11471147
checksum = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e"
11481148
dependencies = [
11491149
"libc",
1150-
"windows-sys 0.59.0",
1150+
"windows-sys 0.52.0",
11511151
]
11521152

11531153
[[package]]
@@ -3119,10 +3119,10 @@ dependencies = [
31193119
[[package]]
31203120
name = "rustc-build-sysroot"
31213121
version = "0.5.7"
3122-
source = "registry+https://github.com/rust-lang/crates.io-index"
3123-
checksum = "10edc2e4393515193bd766e2f6c050b0536a68e56f2b6d56c07ababfdc114ff0"
3122+
source = "git+https://github.com/tgross35/rustc-build-sysroot?branch=patch-compiler-builtins#4793aabe776bdfb736558fcea91054af22751997"
31243123
dependencies = [
31253124
"anyhow",
3125+
"regex",
31263126
"rustc_version",
31273127
"tempfile",
31283128
"walkdir",
@@ -4749,7 +4749,7 @@ dependencies = [
47494749
"errno",
47504750
"libc",
47514751
"linux-raw-sys",
4752-
"windows-sys 0.59.0",
4752+
"windows-sys 0.52.0",
47534753
]
47544754

47554755
[[package]]
@@ -4995,7 +4995,7 @@ dependencies = [
49954995
"cfg-if",
49964996
"libc",
49974997
"psm",
4998-
"windows-sys 0.59.0",
4998+
"windows-sys 0.52.0",
49994999
]
50005000

50015001
[[package]]
@@ -5138,7 +5138,7 @@ dependencies = [
51385138
"getrandom 0.3.3",
51395139
"once_cell",
51405140
"rustix",
5141-
"windows-sys 0.59.0",
5141+
"windows-sys 0.52.0",
51425142
]
51435143

51445144
[[package]]
@@ -5995,7 +5995,7 @@ version = "0.1.9"
59955995
source = "registry+https://github.com/rust-lang/crates.io-index"
59965996
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
59975997
dependencies = [
5998-
"windows-sys 0.59.0",
5998+
"windows-sys 0.48.0",
59995999
]
60006000

60016001
[[package]]

src/tools/miri/cargo-miri/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ directories = "6"
1818
rustc_version = "0.4"
1919
serde_json = "1.0.40"
2020
cargo_metadata = "0.19"
21-
rustc-build-sysroot = "0.5.7"
21+
# rustc-build-sysroot = "0.5.7"
22+
rustc-build-sysroot = { git = "https://github.com/tgross35/rustc-build-sysroot", branch = "patch-compiler-builtins" }
2223

2324
# Enable some feature flags that dev-dependencies need but dependencies
2425
# do not. This makes `./miri install` after `./miri build` faster.

src/tools/miri/cargo-miri/src/setup.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,6 @@ pub fn setup(
128128
}
129129
}
130130

131-
command.arg(&format!(
132-
"--config=patch.crates-io.compiler_builtins.path=\
133-
'{}/compiler-builtins/compiler-builtins'",
134-
rust_src.display(),
135-
));
136-
137131
command
138132
};
139133
// Disable debug assertions in the standard library -- Miri is already slow enough.

0 commit comments

Comments
 (0)