Skip to content

Commit

Permalink
Add an environment variable to distinguish check
Browse files Browse the repository at this point in the history
  • Loading branch information
fee1-dead committed Apr 11, 2022
1 parent 32b0ab1 commit ed59a1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/project_model/src/build_scripts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ impl WorkspaceBuildScripts {
}
}

cmd.env("IS_RA_BUILDSCRIPT_CHECK", "1");

// --all-targets includes tests, benches and examples in addition to the
// default lib and bins. This is an independent concept from the --targets
// flag below.
Expand Down

0 comments on commit ed59a1b

Please sign in to comment.