Skip to content

Commit

Permalink
Try filtering a few more vars
Browse files Browse the repository at this point in the history
  • Loading branch information
thomcc committed Nov 2, 2023
1 parent 680875b commit f8c32be
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions plrustc/plrustc/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,13 @@ fn clear_env() {
.map(|(name, _)| name)
.filter(|name| {
let name = name.to_string_lossy().to_lowercase();
!(name.starts_with("rust")
|| name.starts_with("plrust")
|| name.starts_with("cargo")
|| name == "path")
!(
name.starts_with("plrust")
// || name.starts_with("rust")
// || name.starts_with("cargo")
|| name == "path"
// || name == "rustflags"
)
})
.collect::<Vec<_>>();
for name in all_var_names {
Expand Down

0 comments on commit f8c32be

Please sign in to comment.