about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-12-26 23:07:11 -0500
committerJoshua Nelson <jyn514@gmail.com>2020-12-27 19:55:02 -0500
commit7ac02bddc7349fb2268c88e0adc4a0f1854fb531 (patch)
treec1a947d046ff4ab81400291f825860e5030521d7 /library/std/src/sys/unix/stack_overflow.rs
parentdc6121ca681e3aef09b93afb13637632dcdc0e9a (diff)
downloadrust-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