v0.2.6
This commit is contained in:
parent
c0ab4c283a
commit
f232b62b23
17
CHANGELOG.md
17
CHANGELOG.md
|
@ -5,6 +5,19 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
## [Unreleased]
|
## [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
|
## [v0.2.4] - 2021-05-15
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -100,7 +113,9 @@ Initial release. Forked from [syscall] v0.2.1.
|
||||||
|
|
||||||
- Support for x86_64 FreeBSD
|
- 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.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.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
|
[v0.2.2]: https://github.com/japaric/syscall.rs/compare/v0.2.1...v0.2.2
|
||||||
|
|
|
@ -7,4 +7,4 @@ license = "MIT OR Apache-2.0"
|
||||||
name = "sc"
|
name = "sc"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/japaric/syscall.rs"
|
repository = "https://github.com/japaric/syscall.rs"
|
||||||
version = "0.2.4"
|
version = "0.2.6"
|
||||||
|
|
10
README.md
10
README.md
|
@ -2,6 +2,16 @@
|
||||||
|
|
||||||
This library allows Rust code to invoke system calls directly.
|
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!
|
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.
|
We do not intend to provide wrapper functions like `read(2)` etc. because there are many subtly different ways to define them in Rust.
|
||||||
|
|
10
src/lib.rs
10
src/lib.rs
|
@ -8,6 +8,16 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
//! Raw system calls for Rust.
|
//! 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
|
// Reference http://man7.org/linux/man-pages/man2/syscall.2.html
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue