Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).