Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcusgrass/unix-print
A rust library for no_std no_libc stdout writing with Rust's standard print macros
https://github.com/marcusgrass/unix-print
Last synced: 21 days ago
JSON representation
A rust library for no_std no_libc stdout writing with Rust's standard print macros
- Host: GitHub
- URL: https://github.com/marcusgrass/unix-print
- Owner: MarcusGrass
- License: mit
- Created: 2022-10-02T18:41:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-07T13:51:55.000Z (about 2 years ago)
- Last Synced: 2024-04-24T05:02:46.609Z (9 months ago)
- Language: Rust
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Unix print
A `no_std`, `no_libc` library that allows using Rust's standard syscall macros
to output to stdout or stderr.Does no buffering or locking which will exhibit poor performance under heavy load, and strange ordering on
multithreading.*Should work on posix compliant OSes but is only tested on linux
## Examples
Used just like the regular `print!`, `println!`, `eprint!`, `eprintln!`, and `dbg!` macros.See the [example no_std binary for usage](no-std-test/src/main.rs), run it with `cargo run -p no-std-test`.
## Credits
Heavily inspired by [rust-libc-print](https://github.com/mmastrac/rust-libc-print).## License
Licensed under [MIT](LICENSE).