The package rpms/rust-rustix.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-rustix.git/commit/?id=88a5c9....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 88a5c948c5242495c05e71d4240181b841d472ce
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Oct 28 15:04:03 2022 +0200
Update to version 0.35.12; Fixes RHBZ#2050429
diff --git a/.gitignore b/.gitignore
index 864625f..298e86b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/rustix-0.29.1.crate
/rustix-0.31.3.crate
/rustix-0.33.6.crate
+/rustix-0.35.12.crate
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
deleted file mode 100644
index 9a62e60..0000000
--- a/.rust2rpm.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-[DEFAULT]
-unwanted-features =
- core
- alloc
- compiler_builtins
- rustc-dep-of-std
diff --git a/0001-Unconditionally-compile-C-code-from-source.patch
b/0001-Unconditionally-compile-C-code-from-source.patch
index 1ee2512..2905474 100644
--- a/0001-Unconditionally-compile-C-code-from-source.patch
+++ b/0001-Unconditionally-compile-C-code-from-source.patch
@@ -1,14 +1,14 @@
-From 6a1c4bda3bd069e46803497e3185a3a266b56900 Mon Sep 17 00:00:00 2001
+From e12c8f3cedd4c0ed2efc061dea4d69953a96027d Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed, 13 Apr 2022 18:54:47 +0200
-Subject: [PATCH 1/2] Unconditionally compile C code from source
+Subject: [PATCH] Unconditionally compile C code from source
---
build.rs | 44 +++++++-------------------------------------
1 file changed, 7 insertions(+), 37 deletions(-)
diff --git a/build.rs b/build.rs
-index a11e1dc..2dfada0 100644
+index 56c6b15..194a659 100644
--- a/build.rs
+++ b/build.rs
@@ -1,4 +1,3 @@
@@ -16,7 +16,7 @@ index a11e1dc..2dfada0 100644
use cc::Build;
use std::env::var;
use std::io::Write;
-@@ -105,42 +104,13 @@ fn link_in_librustix_outline(arch: &str, asm_name: &str) {
+@@ -117,42 +116,13 @@ fn link_in_librustix_outline(arch: &str, asm_name: &str) {
let to = format!("{}/{}/lib{}.a", OUTLINE_PATH, profile, name);
println!("cargo:rerun-if-changed={}", to);
@@ -67,5 +67,5 @@ index a11e1dc..2dfada0 100644
}
--
-2.35.1
+2.38.1
diff --git a/0002-Fix-vDSO-parsing-on-powerpc64.patch
b/0002-Fix-vDSO-parsing-on-powerpc64.patch
deleted file mode 100644
index 7d727a9..0000000
--- a/0002-Fix-vDSO-parsing-on-powerpc64.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 8c810c5bb124decc30511a09f5e0ea891354e618 Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe(a)gmail.com>
-Date: Fri, 15 Apr 2022 16:58:43 +0200
-Subject: [PATCH 2/2] Fix vDSO parsing on powerpc64
-
-Backported from:
https://github.com/bytecodealliance/rustix/pull/286
----
- src/imp/linux_raw/elf.rs | 1 +
- src/imp/linux_raw/vdso.rs | 7 ++++++-
- 2 files changed, 7 insertions(+), 1 deletion(-)
-
-diff --git a/src/imp/linux_raw/elf.rs b/src/imp/linux_raw/elf.rs
-index 0a1205b..7b9bb32 100644
---- a/src/imp/linux_raw/elf.rs
-+++ b/src/imp/linux_raw/elf.rs
-@@ -46,6 +46,7 @@ pub(super) const DT_VERSYM: i32 = 0x6fff_fff0;
- pub(super) const DT_VERDEF: i32 = 0x6fff_fffc;
- pub(super) const STB_WEAK: u8 = 2;
- pub(super) const STB_GLOBAL: u8 = 1;
-+pub(super) const STT_NOTYPE: u8 = 0;
- pub(super) const STT_FUNC: u8 = 2;
- pub(super) const STN_UNDEF: u32 = 0;
- pub(super) const VER_FLG_BASE: u16 = 0x1;
-diff --git a/src/imp/linux_raw/vdso.rs b/src/imp/linux_raw/vdso.rs
-index 9a87182..945e0a4 100644
---- a/src/imp/linux_raw/vdso.rs
-+++ b/src/imp/linux_raw/vdso.rs
-@@ -365,7 +365,12 @@ impl Vdso {
- let sym = &*self.symtab.add(chain as usize);
-
- // Check for a defined global or weak function w/ right name.
-- if ELF_ST_TYPE(sym.st_info) != STT_FUNC
-+ //
-+ // The reference parser in Linux's parse_vdso.c requires
-+ // symbols to have type `STT_FUNC`, but on powerpc64, the vDSO
-+ // uses `STT_NOTYPE`, so allow that too.
-+ if (ELF_ST_TYPE(sym.st_info) != STT_FUNC &&
-+ ELF_ST_TYPE(sym.st_info) != STT_NOTYPE)
- || (ELF_ST_BIND(sym.st_info) != STB_GLOBAL
- && ELF_ST_BIND(sym.st_info) != STB_WEAK)
- || sym.st_shndx == SHN_UNDEF
---
-2.35.1
-
diff --git a/rust-rustix.spec b/rust-rustix.spec
index 420d2d2..668bc93 100644
--- a/rust-rustix.spec
+++ b/rust-rustix.spec
@@ -1,28 +1,27 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate rustix
-Name: rust-%{crate}
-Version: 0.33.6
+Name: rust-rustix
+Version: 0.35.12
Release: %autorelease
Summary: Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls
-# Upstream license specification: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
-License: ASL 2.0 or MIT
+License: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
URL:
https://crates.io/crates/rustix
Source: %{crates_source}
-# Initial patched metadata
-# * drop windows-specific dependencies
+# Automatically generated patch to strip foreign dependencies
+Patch: rustix-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
-Patch0: rustix-fix-metadata.diff
-# * unconditionally compile C code from source
-Patch1: 0001-Unconditionally-compile-C-code-from-source.patch
-# * backported patch to fix vDSO parsing on ppc64le
-Patch2: 0002-Fix-vDSO-parsing-on-powerpc64.patch
-
-ExclusiveArch: %{rust_arches}
+# * drop dependencies on compiler internals
+# * make cc build-dependency non-optional
+# * add missing dependencies for s390x
+Patch: rustix-fix-metadata.diff
+# * unconditionally rebuild static objects from Assembly
+Patch: 0001-Unconditionally-compile-C-code-from-source.patch
BuildRequires: rust-packaging >= 21
@@ -46,6 +45,7 @@ use the "%{crate}" crate.
%license %{crate_instdir}/LICENSE-Apache-2.0_WITH_LLVM-exception
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CODE_OF_CONDUCT.md
+%doc %{crate_instdir}/CONTRIBUTING.md
%doc %{crate_instdir}/ORG_CODE_OF_CONDUCT.md
%doc %{crate_instdir}/README.md
%doc %{crate_instdir}/SECURITY.md
@@ -63,6 +63,18 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+all-apis-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+all-apis-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "all-apis" feature of the "%{crate}" crate.
+
+%files -n %{name}+all-apis-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+all-impls-devel
Summary: %{summary}
BuildArch: noarch
@@ -87,16 +99,28 @@ use the "async-std" feature of the "%{crate}"
crate.
%files -n %{name}+async-std-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+errno-devel
+%package -n %{name}+cc-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+errno-devel %{_description}
+%description -n %{name}+cc-devel %{_description}
This package contains library source intended for building other packages which
-use the "errno" feature of the "%{crate}" crate.
+use the "cc" feature of the "%{crate}" crate.
-%files -n %{name}+errno-devel
+%files -n %{name}+cc-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+fs-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+fs-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "fs" feature of the "%{crate}" crate.
+
+%files -n %{name}+fs-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+fs-err-devel
@@ -123,6 +147,18 @@ use the "io-lifetimes" feature of the "%{crate}"
crate.
%files -n %{name}+io-lifetimes-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+io_uring-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+io_uring-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "io_uring" feature of the "%{crate}" crate.
+
+%files -n %{name}+io_uring-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+itoa-devel
Summary: %{summary}
BuildArch: noarch
@@ -147,6 +183,18 @@ use the "libc" feature of the "%{crate}" crate.
%files -n %{name}+libc-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+libc_errno-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+libc_errno-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "libc_errno" feature of the "%{crate}" crate.
+
+%files -n %{name}+libc_errno-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+mio-devel
Summary: %{summary}
BuildArch: noarch
@@ -159,6 +207,30 @@ use the "mio" feature of the "%{crate}" crate.
%files -n %{name}+mio-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+mm-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+mm-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "mm" feature of the "%{crate}" crate.
+
+%files -n %{name}+mm-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+net-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+net-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "net" feature of the "%{crate}" crate.
+
+%files -n %{name}+net-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+once_cell-devel
Summary: %{summary}
BuildArch: noarch
@@ -183,6 +255,30 @@ use the "os_pipe" feature of the "%{crate}"
crate.
%files -n %{name}+os_pipe-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+param-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+param-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "param" feature of the "%{crate}" crate.
+
+%files -n %{name}+param-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+process-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+process-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "process" feature of the "%{crate}" crate.
+
+%files -n %{name}+process-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+procfs-devel
Summary: %{summary}
BuildArch: noarch
@@ -195,6 +291,30 @@ use the "procfs" feature of the "%{crate}"
crate.
%files -n %{name}+procfs-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+rand-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+rand-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "rand" feature of the "%{crate}" crate.
+
+%files -n %{name}+rand-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+runtime-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+runtime-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "runtime" feature of the "%{crate}" crate.
+
+%files -n %{name}+runtime-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+socket2-devel
Summary: %{summary}
BuildArch: noarch
@@ -219,6 +339,42 @@ use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+termios-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+termios-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "termios" feature of the "%{crate}" crate.
+
+%files -n %{name}+termios-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+thread-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+thread-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "thread" feature of the "%{crate}" crate.
+
+%files -n %{name}+thread-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+time-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+time-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "time" feature of the "%{crate}" crate.
+
+%files -n %{name}+time-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+tokio-devel
Summary: %{summary}
BuildArch: noarch
@@ -243,27 +399,37 @@ use the "use-libc" feature of the "%{crate}"
crate.
%files -n %{name}+use-libc-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+use-libc-auxv-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+use-libc-auxv-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "use-libc-auxv" feature of the "%{crate}" crate.
+
+%files -n %{name}+use-libc-auxv-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
# Remove pre-built binaries
-rm src/imp/linux_raw/arch/outline/debug/*.a
-rm src/imp/linux_raw/arch/outline/release/*.a
+rm -r src/backend/linux_raw/arch/outline/debug/
+rm -r src/backend/linux_raw/arch/outline/release/
%generate_buildrequires
-%cargo_generate_buildrequires
+%cargo_generate_buildrequires -a
%build
-%cargo_build
+%cargo_build -a
%install
-%cargo_install
+%cargo_install -a
%if %{with check}
%check
-# * skip a test that requires a file which is not included in published crates
-# * skip a test that tries to build and run an example with cargo
-%cargo_test -- -- --skip test_backends --skip dup2_to_replace_stdio
+%cargo_test -a
%endif
%changelog
diff --git a/rust2rpm.conf b/rust2rpm.conf
new file mode 100644
index 0000000..f626714
--- /dev/null
+++ b/rust2rpm.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+all-features = true
diff --git a/rustix-fix-metadata-auto.diff b/rustix-fix-metadata-auto.diff
new file mode 100644
index 0000000..b44c5f3
--- /dev/null
+++ b/rustix-fix-metadata-auto.diff
@@ -0,0 +1,48 @@
+--- rustix-0.35.12/Cargo.toml 1970-01-01T00:00:01+00:00
++++ rustix-0.35.12/Cargo.toml 1970-01-01T00:00:01+00:00
+@@ -180,14 +180,6 @@
+ ]
+ use-libc-auxv = ["libc"]
+
+-[target."cfg(all(any(target_os = \"android\", target_os =
\"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\",
any(target_arch = \"x86\", all(target_arch = \"x86_64\",
target_pointer_width = \"64\"), all(target_endian = \"little\",
any(target_arch = \"arm\", all(target_arch = \"aarch64\",
target_pointer_width = \"64\"), target_arch = \"powerpc64\",
target_arch = \"riscv64\", target_arch = \"mips\", target_arch =
\"mips64\"))))))))".dependencies.linux-raw-sys]
+-version = "0.0.46"
+-features = [
+- "general",
+- "no_std",
+-]
+-default-features = false
+-
+ [target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\",
any(target_arch = \"x86\", all(target_arch = \"x86_64\",
target_pointer_width = \"64\"), all(target_endian = \"little\",
any(target_arch = \"arm\", all(target_arch = \"aarch64\",
target_pointer_width = \"64\"), target_arch = \"powerpc64\",
target_arch = \"riscv64\", target_arch = \"mips\", target_arch =
\"mips64\")))))".dependencies.libc]
+ version = "0.2.133"
+ features = ["extra_traits"]
+@@ -209,15 +201,6 @@
+ ]
+ default-features = false
+
+-[target."cfg(any(rustix_use_libc, miri, not(all(target_os = \"linux\",
any(target_arch = \"x86\", all(target_arch = \"x86_64\",
target_pointer_width = \"64\"), all(target_endian = \"little\",
any(target_arch = \"arm\", all(target_arch = \"aarch64\",
target_pointer_width = \"64\"), target_arch = \"powerpc64\",
target_arch = \"riscv64\", target_arch = \"mips\", target_arch =
\"mips64\")))))))".dependencies.libc]
+-version = "0.2.133"
+-features = ["extra_traits"]
+-
+-[target."cfg(any(rustix_use_libc, miri, not(all(target_os = \"linux\",
any(target_arch = \"x86\", all(target_arch = \"x86_64\",
target_pointer_width = \"64\"), all(target_endian = \"little\",
any(target_arch = \"arm\", all(target_arch = \"aarch64\",
target_pointer_width = \"64\"), target_arch = \"powerpc64\",
target_arch = \"riscv64\", target_arch = \"mips\", target_arch =
\"mips64\")))))))".dependencies.libc_errno]
+-version = "0.2.8"
+-default-features = false
+-package = "errno"
+-
+ [target."cfg(any(target_os = \"android\", target_os =
\"linux\"))".dependencies.once_cell]
+ version = "1.5.2"
+ optional = true
+@@ -225,14 +208,3 @@
+ [target."cfg(not(target_os =
\"emscripten\"))".dev-dependencies.criterion]
+ version = "0.3"
+
+-[target."cfg(windows)".dependencies.windows-sys]
+-version = "0.36.0"
+-features = [
+- "Win32_Foundation",
+- "Win32_Networking_WinSock",
+- "Win32_NetworkManagement_IpHelper",
+- "Win32_System_Threading",
+-]
+-
+-[target."cfg(windows)".dev-dependencies.ctor]
+-version = "0.1.21"
diff --git a/rustix-fix-metadata.diff b/rustix-fix-metadata.diff
index c23ba2f..37aa5d8 100644
--- a/rustix-fix-metadata.diff
+++ b/rustix-fix-metadata.diff
@@ -1,25 +1,81 @@
---- rustix-0.33.6/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ rustix-0.33.6/Cargo.toml 2022-04-13T16:51:09.165066+00:00
-@@ -97,7 +97,6 @@
+--- rustix-0.35.12/Cargo.toml 1970-01-01T00:00:01+00:00
++++ rustix-0.35.12/Cargo.toml 2022-10-28T14:25:16.540213+00:00
+@@ -62,22 +62,8 @@
+ name = "mod"
+ harness = false
+
+-[dependencies.alloc]
+-version = "1.0.0"
+-optional = true
+-package = "rustc-std-workspace-alloc"
+-
+ [dependencies.bitflags]
+ version = "1.2.1"
+-
+-[dependencies.compiler_builtins]
+-version = "0.1.49"
+-optional = true
+-
+-[dependencies.core]
+-version = "1.0.0"
+-optional = true
+-package = "rustc-std-workspace-core"
+
+ [dependencies.io-lifetimes]
+ version = "0.7.0"
+@@ -113,7 +99,6 @@
[build-dependencies.cc]
version = "1.0.68"
-optional = true
[features]
- all-impls = [
-@@ -156,10 +155,6 @@
+ all-apis = [
+@@ -139,6 +124,7 @@
+ "fs-err",
]
- default-features = false
+ async-std = ["io-lifetimes/async-std"]
++cc = []
+ default = [
+ "std",
+ "use-libc-auxv",
+@@ -161,13 +147,6 @@
+ ]
+ rand = []
+ runtime = []
+-rustc-dep-of-std = [
+- "core",
+- "alloc",
+- "compiler_builtins",
+- "linux-raw-sys/rustc-dep-of-std",
+- "bitflags/rustc-dep-of-std",
+-]
+ socket2 = ["io-lifetimes/socket2"]
+ std = ["io-lifetimes"]
+ termios = []
+@@ -180,18 +159,18 @@
+ ]
+ use-libc-auxv = ["libc"]
--[target."cfg(all(windows, not(target_vendor =
\"uwp\")))".dependencies.winapi]
--version = "0.3.9"
--features = ["handleapi"]
--
- [target."cfg(any(rustix_use_libc, miri, not(all(target_os = \"linux\",
any(target_arch = \"x86\", all(target_arch = \"x86_64\",
not(target_pointer_width = \"32\")), target_arch = \"arm\",
target_arch = \"aarch64\", target_arch = \"powerpc64\", target_arch =
\"riscv64\", target_arch = \"mips\", target_arch =
\"mips64\")))))".dependencies.errno]
+-[target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\",
any(target_arch = \"x86\", all(target_arch = \"x86_64\",
target_pointer_width = \"64\"), all(target_endian = \"little\",
any(target_arch = \"arm\", all(target_arch = \"aarch64\",
target_pointer_width = \"64\"), target_arch = \"powerpc64\",
target_arch = \"riscv64\", target_arch = \"mips\", target_arch =
\"mips64\")))))".dependencies.libc]
++[target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\",
any(target_arch = \"x86\", all(target_arch = \"x86_64\",
target_pointer_width = \"64\"), all(target_endian = \"big\",
target_arch = \"s390x\"), all(target_endian = \"little\",
any(target_arch = \"arm\", all(target_arch = \"aarch64\",
target_pointer_width = \"64\"), target_arch = \"powerpc64\",
target_arch = \"riscv64\", target_arch = \"mips\", target_arch =
\"mips64\")))))".dependencies.libc]
+ version = "0.2.133"
+ features = ["extra_traits"]
+ optional = true
+
+-[target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\",
any(target_arch = \"x86\", all(target_arch = \"x86_64\",
target_pointer_width = \"64\"), all(target_endian = \"little\",
any(target_arch = \"arm\", all(target_arch = \"aarch64\",
target_pointer_width = \"64\"), target_arch = \"powerpc64\",
target_arch = \"riscv64\", target_arch = \"mips\", target_arch =
\"mips64\")))))".dependencies.libc_errno]
++[target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\",
any(target_arch = \"x86\", all(target_arch = \"x86_64\",
target_pointer_width = \"64\"), all(target_endian = \"big\",
target_arch = \"s390x\"), all(target_endian = \"little\",
any(target_arch = \"arm\", all(target_arch = \"aarch64\",
target_pointer_width = \"64\"), target_arch = \"powerpc64\",
target_arch = \"riscv64\", target_arch = \"mips\", target_arch =
\"mips64\")))))".dependencies.libc_errno]
version = "0.2.8"
+ optional = true
default-features = false
-@@ -171,16 +166,3 @@
+ package = "errno"
+
+-[target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\",
any(target_arch = \"x86\", all(target_arch = \"x86_64\",
target_pointer_width = \"64\"), all(target_endian = \"little\",
any(target_arch = \"arm\", all(target_arch = \"aarch64\",
target_pointer_width = \"64\"), target_arch = \"powerpc64\",
target_arch = \"riscv64\", target_arch = \"mips\", target_arch =
\"mips64\")))))".dependencies.linux-raw-sys]
++[target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\",
any(target_arch = \"x86\", all(target_arch = \"x86_64\",
target_pointer_width = \"64\"), all(target_endian = \"big\",
target_arch = \"s390x\"), all(target_endian = \"little\",
any(target_arch = \"arm\", all(target_arch = \"aarch64\",
target_pointer_width = \"64\"), target_arch = \"powerpc64\",
target_arch = \"riscv64\", target_arch = \"mips\", target_arch =
\"mips64\")))))".dependencies.linux-raw-sys]
+ version = "0.0.46"
+ features = [
+ "general",
+@@ -204,7 +183,3 @@
[target."cfg(any(target_os = \"android\", target_os =
\"linux\"))".dependencies.once_cell]
version = "1.5.2"
optional = true
@@ -27,12 +83,3 @@
-[target."cfg(not(target_os =
\"emscripten\"))".dev-dependencies.criterion]
-version = "0.3"
-
--[target."cfg(windows)".dependencies.winapi]
--version = "0.3.9"
--features = [
-- "ws2ipdef",
-- "ws2tcpip",
--]
--
--[target."cfg(windows)".dev-dependencies.ctor]
--version = "0.1.21"
diff --git a/sources b/sources
index 2711f10..391f43b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rustix-0.33.6.crate) =
786afb057d5b63549342859bf2892036de0bb45388a981a33c5de9a54ccf71b9cd1f48b4fe82e3206a1688e87d2482eaf4c6df635c0e3dd9e3f10bc5c5bb17f2
+SHA512 (rustix-0.35.12.crate) =
72dbca8616a7d2102a073eab049cf34b8301560923cfaf162c81d136cffa75be5f8da79533f6c9d64f196337ef83c1f7dcc9b44141701a8dea5ec2f278624dfc