mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Update crates/proc-macro-test/build.rs
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
parent
9a8efe235f
commit
844aa8b53e
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ fn main() {
|
|||
let imp_dir = std::env::current_dir().unwrap().join("imp");
|
||||
|
||||
let staging_dir = out_dir.join("proc-macro-test-imp-staging");
|
||||
// this'll error out if the staging dir didn't previously. using
|
||||
// this'll error out if the staging dir didn't previously exist. using
|
||||
// `std::fs::exists` would suffer from TOCTOU so just do our best to
|
||||
// wipe it and ignore errors.
|
||||
let _ = std::fs::remove_dir_all(&staging_dir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue