Stebalien / tempfile

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

Dependency upgrade request: rustix #228

Closed timf closed 1 year ago

timf commented 1 year ago

Could you require rustix 0.37.11 or higher in the next tempfile release? This includes a fix for a build issue that was causing constant recompilation (evading the benefits of Rust's incremental compilation).

I tested the change locally, and both my tests and tempfile tests passed on rustc 1.68.2 on Linux and OSX (sorry, I do not have quick access to a Windows environment).

Thank you!

sunfishcode commented 1 year ago

0.37.11 is semver-compatible with 0.37.1 which is the version tempfile references, so you should be able to update to rustix 0.37.11 and get the same effect by running this command:

cargo update --package=rustix
timf commented 1 year ago

Thanks. I'd tried cargo update first, but it was not bumping it high enough. I just messed with it more, and this command worked:

cargo update --package=rustix --precise 0.37.11