Skip to content

Commit 2d32366

Browse files
committed
Update crate name used for build script probe
This will make it correctly respect RUSTC_BOOTSTRAP=anyhow.
1 parent d10baed commit 2d32366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fn compile_probe() -> bool {
7878

7979
cmd.stderr(Stdio::null())
8080
.arg("--edition=2018")
81-
.arg("--crate-name=anyhow_build")
81+
.arg("--crate-name=anyhow")
8282
.arg("--crate-type=lib")
8383
.arg("--emit=metadata")
8484
.arg("--out-dir")

0 commit comments

Comments
 (0)