Skip to content

Commit

Permalink
Delete RUSTFLAGS fallback from build script
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 3, 2022
1 parent 08ce6ff commit 43cd331
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
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 43cd331

Please sign in to comment.