7e86d199a1
The reason for this change is that `llvm_asm` is removed from nightly, so it doesn't compile anymore on any current compiler, while `asm` is being stabilised (currently stable on beta). The major omission in this commit is the linux x86 (32 bit) platform. The new `asm` macro doesn't allow the esi and ebp registers to be used as inputs or outputs or clobbers, which makes the port non-trivial for this platform. Similarly on armeabi the r6 register is not allowed as input, output or clobber. |
||
---|---|---|
.github/workflows | ||
examples | ||
src | ||
tests | ||
tools | ||
.gitignore | ||
Cargo.toml | ||
CHANGELOG.md | ||
COPYRIGHT | ||
Cross.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
Raw system calls for Rust
This library allows Rust code to invoke system calls directly.
See the list of supported platforms. Additions are very welcome!
We do not intend to provide wrapper functions like read(2)
etc. because there are many subtly different ways to define them in Rust.