This commit is contained in:
Jorge Aparicio 2022-02-04 12:48:02 +01:00
parent c0ab4c283a
commit f232b62b23
4 changed files with 37 additions and 2 deletions

View file

@ -5,6 +5,19 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
## [v0.2.6] - 2022-02-04
### Changed
- architectures aarch64, riscv64 and x86_64 now use the stable `asm!` macro. this crate will work on
stable Rust 1.59+ when compiled to those architectures
## [v0.2.5] - 2021-08-14
### Added
- Added support for Android
## [v0.2.4] - 2021-05-15
### Added
@ -100,7 +113,9 @@ Initial release. Forked from [syscall] v0.2.1.
- Support for x86_64 FreeBSD
[Unreleased]: https://github.com/japaric/syscall.rs/compare/v0.2.4...HEAD
[Unreleased]: https://github.com/japaric/syscall.rs/compare/v0.2.6...HEAD
[v0.2.6]: https://github.com/japaric/syscall.rs/compare/v0.2.5...v0.2.6
[v0.2.5]: https://github.com/japaric/syscall.rs/compare/v0.2.4...v0.2.5
[v0.2.4]: https://github.com/japaric/syscall.rs/compare/v0.2.3...v0.2.4
[v0.2.3]: https://github.com/japaric/syscall.rs/compare/v0.2.2...v0.2.3
[v0.2.2]: https://github.com/japaric/syscall.rs/compare/v0.2.1...v0.2.2

View file

@ -7,4 +7,4 @@ license = "MIT OR Apache-2.0"
name = "sc"
readme = "README.md"
repository = "https://github.com/japaric/syscall.rs"
version = "0.2.4"
version = "0.2.6"

View file

@ -2,6 +2,16 @@
This library allows Rust code to invoke system calls directly.
⚠️ NOTE: Only these architectures have been ported to the stable (as of 1.59) `asm!` macro
- aarch64
- riscv64
- x86_64
All the other architectures use the deprecated `llvm_asm!` macro which has already been removed.
To use this crate with those architectures you'll need to use an older nightly like
`nightly-2022-01-14`
See the [list of supported platforms](https://github.com/japaric/syscall.rs/tree/master/src/platform). 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.

View file

@ -8,6 +8,16 @@
// except according to those terms.
//! Raw system calls for Rust.
//!
//! NOTE: Only these architectures have been ported to the stable (as of 1.59) `asm!` macro
//!
//! - aarch64
//! - riscv64
//! - x86_64
//!
//! All the other architectures use the deprecated `llvm_asm!` macro which has already been removed.
//! To use this crate with those architectures you'll need to use an older nightly like
//! `nightly-2022-01-14`
// Reference http://man7.org/linux/man-pages/man2/syscall.2.html