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
dtolnay authored Jan 3, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 08ce6ff + 43cd331 commit 1bbc8b1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions build.rs
Original file line number Diff line number Diff line change
@@ -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;
};

0 comments on commit 1bbc8b1

Please sign in to comment.