Skip to content

Commit

Permalink
Merge pull request #323 from dtolnay/build
Browse files Browse the repository at this point in the history
Delete RUSTFLAGS fallback from build script
  • Loading branch information
dtolnay committed Jan 3, 2022
2 parents 08ce6ff + 43cd331 commit 1bbc8b1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions build.rs
Expand Up @@ -157,10 +157,6 @@ fn feature_allowed(feature: &str) -> bool {
flags_var = encoded_rustflags;
flags_var_string = flags_var.to_string_lossy();
flags_var_string.split('\x1f')
} else if let Some(rustflags) = env::var_os("RUSTFLAGS") {
flags_var = rustflags;
flags_var_string = flags_var.to_string_lossy();
flags_var_string.split(' ')
} else {
return true;
};
Expand Down

0 comments on commit 1bbc8b1

Please sign in to comment.