Stebalien / tempfile

Temporary file library for rust
http://stebalien.com/projects/tempfile-rs
Apache License 2.0
1.15k stars 113 forks source link

NamedTempFile::persist_noclobber panicks on Android #259

Closed neonphog closed 10 months ago

neonphog commented 11 months ago

Due to this assertion in rustix: https://github.com/bytecodealliance/rustix/blob/v0.38.3/src/backend/libc/fs/syscalls.rs#L511

Stebalien commented 11 months ago

cc @sunfishcode

sunfishcode commented 10 months ago

Thanks for the report! I've now submitted https://github.com/bytecodealliance/rustix/pull/892 with a fix.

sunfishcode commented 10 months ago

The rustix bug here is now fixed in rustix 0.38.21.

neonphog commented 10 months ago

Woot - android CI is now passing sans-workaround. Thanks @sunfishcode :raised_hands: - closing this.