Cargo Features
mach-sys has no features set by default.
[dependencies]
mach-sys = { version = "0.5.4", features = ["unstable", "alloc", "std"] }
- default
-
there is no default features,
and should not to add anything in future. - unstable
-
Uses newer APIs (but unstable)
Enables generic_once_cell and mcslock
mcslock:
spinning locks for no_std
Affects
thread_status::thread_state_flavor_t
,traps::sync
… - alloc
-
Uses extern crate alloc
- std
-
Uses rust standard library
Enables once_cell and parking_lot
parking_lot:
OS locks for std