Skip to content

Commit

Permalink
fix: Ignore __CARGO_FIX_PLZ when running "cargo metadata" in macro (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
frxstrem authored Aug 16, 2021
1 parent e77219f commit e7c3610
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sqlx-macros/src/query/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ static METADATA: Lazy<Metadata> = Lazy::new(|| {
let output = Command::new(&cargo)
.args(&["metadata", "--format-version=1"])
.current_dir(&manifest_dir)
.env_remove("__CARGO_FIX_PLZ")
.output()
.expect("Could not fetch metadata");

Expand Down

0 comments on commit e7c3610

Please sign in to comment.