Cargo Features
[dependencies]
redox_syscall = { version = "0.5.8", default-features = false, features = ["std", "rustc-dep-of-std", "userspace"] }
- default = userspace
-
The
userspace
feature is set by default wheneverredox_syscall
is added without
somewhere in the dependency tree.default-features = false - std
- rustc-dep-of-std = core
-
Enables rustc-dep-of-std of bitflags
- userspace default
-
Affects
x86::syscall4
,x86::syscall5
,redox_syscall::call
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- core rustc-dep-of-std?
-
Enables rustc-std-workspace-core