about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-07-01 22:32:09 +0200
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-07-02 21:02:31 +0200
commitfd49b1d37f0309b37bd9c821ed7e58182428dbcf (patch)
tree1731aeccdd70abda911f43841438f9c4726a7ad7
parent171be8ce9472dd204ffd2d1ae9cc39555508cdda (diff)
downloadrust-fd49b1d37f0309b37bd9c821ed7e58182428dbcf.tar.gz
rust-fd49b1d37f0309b37bd9c821ed7e58182428dbcf.zip
Downgrade rustix
See https://github.com/rust-lang/rust/pull/113046#issuecomment-1616094626.
-rw-r--r--Cargo.lock9
-rw-r--r--compiler/rustc_driver/Cargo.toml3
2 files changed, 8 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 92416cf19c2..efe7f08732c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3245,6 +3245,7 @@ name = "rustc_driver"
 version = "0.0.0"
 dependencies = [
  "rustc_driver_impl",
+ "rustix 0.37.11",
 ]
 
 [[package]]
@@ -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",
@@ -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",
 ]
 
@@ -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",
 ]
 
diff --git a/compiler/rustc_driver/Cargo.toml b/compiler/rustc_driver/Cargo.toml
index d7c295418ba..86a54f6befd 100644
--- a/compiler/rustc_driver/Cargo.toml
+++ b/compiler/rustc_driver/Cargo.toml
@@ -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"