printf-compat
printf-compat copied to clipboard
printf reimplemented in Rust
This doesn't consume an argument, but instead formats as `strerror(errno)`, or in rust terms `io::Error::last_os_error().to_string()`. It is supported by both glibc and musl.
glibc, musl, and other common libc implementations allow a NULL pointer to be passed to the `%s` specifier, and format it as "(null)". This patch adds support to printf-compat to...
Hi there! I've tried to use your crate to apply the VarArgs list to it's associated format pattern, sadly it crashes with the runtime error: > Guru Meditation Error: Core...
alloc is only required for tests(?) so just make no_std conditional on tests|"std" instead The CI no_std check failed to catch this because you're not building an executable (dependencies are...
* Use latest checkout/cache versions. * Stop using actions-rs: it's no longer maintained. Use direct rustup/cargo calls instead. Only loss of functionality is that warnings/lints aren't shown as inline annotations;...
Switch some remaining places to use C types.