Skip to content

Commit

Permalink
Downgrade rustix
Browse files Browse the repository at this point in the history
  • Loading branch information
Noratrieb committed Jul 2, 2023
1 parent 171be8c commit fd49b1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3245,6 +3245,7 @@ name = "rustc_driver"
version = "0.0.0"
dependencies = [
"rustc_driver_impl",
"rustix 0.37.11",
]

[[package]]
Expand Down Expand Up @@ -4305,9 +4306,9 @@ dependencies = [

[[package]]
name = "rustix"
version = "0.37.21"
version = "0.37.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62f25693a73057a1b4cb56179dd3c7ea21a7c6c5ee7d85781f5749b46f34b79c"
checksum = "85597d61f83914ddeba6a47b3b8ffe7365107221c2e557ed94426489fefb5f77"
dependencies = [
"bitflags 1.3.2",
"errno",
Expand Down Expand Up @@ -4747,7 +4748,7 @@ dependencies = [
"cfg-if",
"fastrand",
"redox_syscall 0.3.5",
"rustix 0.37.21",
"rustix 0.37.11",
"windows-sys 0.48.0",
]

Expand Down Expand Up @@ -4788,7 +4789,7 @@ version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237"
dependencies = [
"rustix 0.37.21",
"rustix 0.37.11",
"windows-sys 0.48.0",
]

Expand Down
3 changes: 3 additions & 0 deletions compiler/rustc_driver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ crate-type = ["dylib"]

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

0 comments on commit fd49b1d

Please sign in to comment.