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=anyhow.
  • Loading branch information
dtolnay committed Dec 30, 2023
1 parent d10baed commit 2d32366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Expand Up @@ -78,7 +78,7 @@ fn compile_probe() -> bool {

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

0 comments on commit 2d32366

Please sign in to comment.