Crates.io | unix-print |
lib.rs | unix-print |
version | 0.1.0 |
source | src |
created_at | 2022-11-07 13:52:36.501031 |
updated_at | 2022-11-07 13:52:36.501031 |
description | A no_std and no_libc stdout printing library |
homepage | https://github.com/MarcusGrass/unix-print |
repository | https://github.com/MarcusGrass/unix-print |
max_upload_size | |
id | 707252 |
size | 6,557 |
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
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
.
Heavily inspired by rust-libc-print.
Licensed under MIT.