Skip to content

Commit e7c3610

Browse files
authored
fix: Ignore __CARGO_FIX_PLZ when running "cargo metadata" in macro (#1352)
1 parent e77219f commit e7c3610

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sqlx-macros/src/query/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ static METADATA: Lazy<Metadata> = Lazy::new(|| {
8181
let output = Command::new(&cargo)
8282
.args(&["metadata", "--format-version=1"])
8383
.current_dir(&manifest_dir)
84+
.env_remove("__CARGO_FIX_PLZ")
8485
.output()
8586
.expect("Could not fetch metadata");
8687

0 commit comments

Comments
 (0)