mirror of
https://github.com/uutils/uutils.github.io.git
synced 2026-06-10 16:12:28 -07:00
17e38beade856481bc17c70ef4cb60339268b22d
browser_wasi_shim's Filestat.write_bytes() uses setUint8 for the 1-byte filetype field at offset 16, leaving bytes 17-23 unwritten. Since Rust allocates the stat buffer with MaybeUninit, those padding bytes contain stack garbage that corrupts the struct. Fix by replacing write_bytes with a version that writes filetype as a full 8-byte BigUint64 (zero-extended), clearing the padding. Also add a test asserting file sizes are reasonable.
coreutils documentations
This repository generates the user and dev documentations of https://github.com/uutils/coreutils
User documentation
It is available on: https://uutils.github.io/coreutils/docs/
Can be generated with:
cargo run --bin uudoc --all-features
cd docs
mdbook build
Developer documentation:
It is available on: https://uutils.github.io/dev/coreutils/
Can be generated with:
cargo doc --no-deps --all-features --workspace
The pages are committed daily into the gh-pages branch.
Build timing
Generated by cargo, the build timings can be seen on: https://uutils.github.io/cargo-timings/cargo-timing.html
Languages
CSS
42.2%
JavaScript
26.7%
HTML
19.7%
Shell
11.4%