unix-print

Crates.iounix-print
lib.rsunix-print
version0.1.0
sourcesrc
created_at2022-11-07 13:52:36.501031
updated_at2022-11-07 13:52:36.501031
descriptionA no_std and no_libc stdout printing library
homepagehttps://github.com/MarcusGrass/unix-print
repositoryhttps://github.com/MarcusGrass/unix-print
max_upload_size
id707252
size6,557
(MarcusGrass)

documentation

https://docs.rs/unix-print

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, run it with cargo run -p no-std-test.

Credits

Heavily inspired by rust-libc-print.

License

Licensed under MIT.

Commit count: 6

cargo fmt