alexcrichton / xz2-rs

Bindings to liblzma in Rust (xz streams in Rust)
Apache License 2.0
81 stars 52 forks source link

liblzma_sys.rlib varies from filesystem readdir order #100

Closed bmwiedemann closed 1 year ago

bmwiedemann commented 1 year ago

While working on reproducible builds for openSUSE, I found that our rustup package binaries vary from filesystem readdir order.

Probably from the read_dir in https://github.com/alexcrichton/xz2-rs/blob/1e7725be/lzma-sys/build.rs#L77

I found https://github.com/gyscos/zstd-rs/pull/162 resolves a similar issue in another lib.

Please ensure consistent source file ordering.