Skip to content

Commit fd49b1d

Browse files
committed
Downgrade rustix
See #113046 (comment).
1 parent 171be8c commit fd49b1d

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Cargo.lock

+5-4
Original file line numberDiff line numberDiff line change
@@ -3245,6 +3245,7 @@ name = "rustc_driver"
32453245
version = "0.0.0"
32463246
dependencies = [
32473247
"rustc_driver_impl",
3248+
"rustix 0.37.11",
32483249
]
32493250

32503251
[[package]]
@@ -4305,9 +4306,9 @@ dependencies = [
43054306

43064307
[[package]]
43074308
name = "rustix"
4308-
version = "0.37.21"
4309+
version = "0.37.11"
43094310
source = "registry+https://github.com/rust-lang/crates.io-index"
4310-
checksum = "62f25693a73057a1b4cb56179dd3c7ea21a7c6c5ee7d85781f5749b46f34b79c"
4311+
checksum = "85597d61f83914ddeba6a47b3b8ffe7365107221c2e557ed94426489fefb5f77"
43114312
dependencies = [
43124313
"bitflags 1.3.2",
43134314
"errno",
@@ -4747,7 +4748,7 @@ dependencies = [
47474748
"cfg-if",
47484749
"fastrand",
47494750
"redox_syscall 0.3.5",
4750-
"rustix 0.37.21",
4751+
"rustix 0.37.11",
47514752
"windows-sys 0.48.0",
47524753
]
47534754

@@ -4788,7 +4789,7 @@ version = "0.2.6"
47884789
source = "registry+https://github.com/rust-lang/crates.io-index"
47894790
checksum = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237"
47904791
dependencies = [
4791-
"rustix 0.37.21",
4792+
"rustix 0.37.11",
47924793
"windows-sys 0.48.0",
47934794
]
47944795

compiler/rustc_driver/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ crate-type = ["dylib"]
88

99
[dependencies]
1010
rustc_driver_impl = { path = "../rustc_driver_impl" }
11+
# FIXME(Nilstrieb): 0.37.12 adds eventfd support for FreeBSD,
12+
# but FreeBSD 12 does not support it: https://github.com/bytecodealliance/rustix/issues/716
13+
rustix = "=0.37.11"

0 commit comments

Comments
 (0)