• Home
  • Raw
  • Download

Lines Matching +full:x86 +full:- +full:linux +full:- +full:gnu

8 description = "Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls"
10 license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
14 categories = ["os::unix-apis", "date-and-time", "filesystem", "network-programming"]
16 rust-version = "1.48"
18 [build-dependencies]
23 itoa = { version = "1.0.1", default-features = false, optional = true }
24 io-lifetimes = { version = "1.0.0", default-features = false, features = ["close"], optional = true…
26 # Special dependencies used in rustc-dep-of-std mode.
27 core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
28 alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" }
32 [target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
37 # On Linux on selected architectures, the linux_raw backend is supported, in
39 # libc backend can be selected via adding `--cfg=rustix_use_libc` to
40 # `RUSTFLAGS` or enabling the `use-libc` cargo feature.
41 [target.'cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all…
42 linux-raw-sys = { version = "0.1.2", default-features = false, features = ["general", "errno", "ioc…
43 libc_errno = { package = "errno", version = "0.2.8", default-features = false, optional = true }
48 # On all other Unix-family platforms, and under Miri, we always use the libc
50 [target.'cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(t…
51 libc_errno = { package = "errno", version = "0.2.8", default-features = false }
54 # Additional dependencies for Linux with the libc backend:
57 # the libc backend uses the linux-raw-sys ABI and `libc::syscall`.
58 …get_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", …
59 linux-raw-sys = { version = "0.1.2", default-features = false, features = ["general", "no_std"] }
61 # For the libc backend on Windows, use the Winsock2 API in windows-sys.
62 [target.'cfg(windows)'.dependencies.windows-sys]
71 [dev-dependencies]
74 libc_errno = { package = "errno", version = "0.2.8", default-features = false }
75 io-lifetimes = { version = "1.0.0", default-features = false, features = ["close"] }
82 [target.'cfg(all(criterion, not(any(target_os = "emscripten", target_os = "wasi"))))'.dev-dependenc…
85 [target.'cfg(windows)'.dev-dependencies]
89 # <https://bheisler.github.io/criterion.rs/book/getting_started.html#step-1---add-dependency-to-car…
95 features = ["all-apis"]
96 rustdoc-args = ["--cfg", "doc_cfg"]
98 "x86_64-unknown-linux-gnu",
99 "i686-unknown-linux-gnu",
100 "x86_64-apple-darwin",
101 "x86_64-pc-windows-msvc",
109 # efficiently on Linux from anywhere other than libc. We can do it, but most
111 default = ["std", "use-libc-auxv"]
115 std = ["io-lifetimes"]
118 rustc-dep-of-std = [
122 "linux-raw-sys/rustc-dep-of-std",
123 "bitflags/rustc-dep-of-std",
127 use-libc = ["libc_errno", "libc"]
150 # Enable this to enable `rustix::io::proc_self_*` (on Linux) and `ttyname`.
166 all-apis = [
184 use-libc-auxv = ["libc"]
186 # Expose io-lifetimes' features for third-party crate impls.
189 #async-std = ["io-lifetimes/async-std"]
190 #tokio = ["io-lifetimes/tokio"]
191 os_pipe = ["io-lifetimes/os_pipe"]
192 #socket2 = ["io-lifetimes/socket2"]
193 #mio = ["io-lifetimes/mio"]
194 fs-err = ["io-lifetimes/fs-err"]
195 #all-impls = ["async-std", "tokio", "os_pipe", "socket2", "mio", "fs-err"]
196 all-impls = ["os_pipe", "fs-err"]