Skip to content

Commit

Permalink
use --profile=check for macro expansion, fixes #457
Browse files Browse the repository at this point in the history
  • Loading branch information
cormacrelf authored and emilio committed Mar 22, 2021
1 parent aaef260 commit 2b1907b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bindgen/cargo/cargo_expand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ pub fn expand(

cmd.arg("rustc");
cmd.arg("--lib");
cmd.arg("--profile=check");
cmd.arg("--manifest-path");
cmd.arg(manifest_path);
if let Some(features) = expand_features {
Expand Down

0 comments on commit 2b1907b

Please sign in to comment.