Skip to content

Commit 5fd9537

Browse files
committed
Update crate name used for build script probe
This will make it correctly respect RUSTC_BOOTSTRAP=thiserror.
1 parent a9b1585 commit 5fd9537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fn compile_probe() -> bool {
3939

4040
cmd.stderr(Stdio::null())
4141
.arg("--edition=2018")
42-
.arg("--crate-name=thiserror_build")
42+
.arg("--crate-name=thiserror")
4343
.arg("--crate-type=lib")
4444
.arg("--emit=metadata")
4545
.arg("--out-dir")

0 commit comments

Comments
 (0)