Skip to content

Commit

Permalink
Update crate name used for build script probe
Browse files Browse the repository at this point in the history
This will make it correctly respect RUSTC_BOOTSTRAP=thiserror.
  • Loading branch information
dtolnay committed Dec 30, 2023
1 parent a9b1585 commit 5fd9537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fn compile_probe() -> bool {

cmd.stderr(Stdio::null())
.arg("--edition=2018")
.arg("--crate-name=thiserror_build")
.arg("--crate-name=thiserror")
.arg("--crate-type=lib")
.arg("--emit=metadata")
.arg("--out-dir")
Expand Down

0 comments on commit 5fd9537

Please sign in to comment.