Lines Matching +full:powerpc64 +full:- +full:unknown +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 …linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(tar…
42 linux-raw-sys = { version = "0.1.2", default-features = false, features = ["general", "errno", "ioc…
43 libc_errno = { package = "errno", version = "0.3.0", default-features = false, optional = true }
48 # On all other Unix-family platforms, and under Miri, we always use the libc
50 …linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(tar…
51 libc_errno = { package = "errno", version = "0.3.0", 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 …linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(targ…
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.3.0", default-features = false }
75 io-lifetimes = { version = "1.0.0", default-features = false, features = ["close"] }
79 [target.'cfg(windows)'.dev-dependencies]
83 features = ["all-apis"]
84 rustdoc-args = ["--cfg", "doc_cfg"]
86 "x86_64-unknown-linux-gnu",
87 "i686-unknown-linux-gnu",
88 "x86_64-apple-darwin",
89 "x86_64-pc-windows-msvc",
97 # efficiently on Linux from anywhere other than libc. We can do it, but most
99 default = ["std", "use-libc-auxv"]
103 std = ["io-lifetimes"]
106 rustc-dep-of-std = [
110 "linux-raw-sys/rustc-dep-of-std",
111 "bitflags/rustc-dep-of-std",
115 use-libc = ["libc_errno", "libc"]
138 # Enable this to enable `rustix::io::proc_self_*` (on Linux) and `ttyname`.
154 all-apis = [
172 use-libc-auxv = ["libc"]
174 # Expose io-lifetimes' features for third-party crate impls.
177 #async-std = ["io-lifetimes/async-std"]
178 #tokio = ["io-lifetimes/tokio"]
179 os_pipe = ["io-lifetimes/os_pipe"]
180 #socket2 = ["io-lifetimes/socket2"]
181 #mio = ["io-lifetimes/mio"]
182 fs-err = ["io-lifetimes/fs-err"]
183 #all-impls = ["async-std", "tokio", "os_pipe", "socket2", "mio", "fs-err"]
184 all-impls = ["os_pipe", "fs-err"]