]>
git.proxmox.com Git - cargo.git/blob - vendor/redox_syscall/src/lib.rs
1 #![cfg_attr(nightly, feature(llvm_asm))]
2 #![cfg_attr(nightly, feature(const_fn))]
3 #![cfg_attr(not(test), no_std)]
10 pub use self::data
::*;
11 pub use self::error
::*;
12 pub use self::flag
::*;
13 #[cfg(target_os = "redox")]
15 pub use self::number
::*;
16 pub use self::scheme
::*;
18 #[cfg(all(target_os = "redox", target_arch = "arm"))]
22 #[cfg(all(target_os = "redox", target_arch = "aarch64"))]
23 #[path="arch/aarch64.rs"]
26 #[cfg(all(target_os = "redox", target_arch = "x86"))]
30 #[cfg(all(target_os = "redox", target_arch = "x86_64"))]
31 #[path="arch/x86_64.rs"]
34 #[cfg(not(target_os = "redox"))]
35 #[path="arch/nonredox.rs"]
38 /// Function definitions
41 /// Complex structures that are used for some system calls
44 /// All errors that can be generated by a system call
47 /// Flags used as an argument to many system calls
50 /// Functions for low level hardware control
51 #[cfg(target_os = "redox")]
54 /// Call numbers used by each system call
57 /// A trait useful for scheme handlers