diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-12-26 23:07:11 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-12-27 19:55:02 -0500 |
| commit | 7ac02bddc7349fb2268c88e0adc4a0f1854fb531 (patch) | |
| tree | c1a947d046ff4ab81400291f825860e5030521d7 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | dc6121ca681e3aef09b93afb13637632dcdc0e9a (diff) | |
| download | rust-7ac02bddc7349fb2268c88e0adc4a0f1854fb531.tar.gz rust-7ac02bddc7349fb2268c88e0adc4a0f1854fb531.zip | |
Don't give an error when creating a file for the first time
Previously, `os.remove` would always give a FileNotFound error the first time you called it, causing bootstrap to make unnecessary copies. This now only calls `remove()` if the file exists, avoiding the unnecessary error.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
