Skip to content

Commit

Permalink
Update crates/tests/standalone/build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr authored Jan 8, 2024
1 parent 8f7a799 commit 1014cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/tests/standalone/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ fn write_no_inner_attr(output: &str, filter: &[&str]) {
fn riddle(output: &str, filter: &[&str], config: &[&str]) {
// Rust-analyzer may re-run build scripts whenever a source file is deleted
// which causes an endless loop if the file is deleted from a build script.
// To workaroud this, we truncate the file instead of deleting it.
// To workaround this, we truncate the file instead of deleting it.
// See https://github.com/microsoft/windows-rs/issues/2777
_ = std::fs::File::options()
.truncate(true)
Expand Down

0 comments on commit 1014cb1

Please sign in to comment.