Skip to content

Commit 43cd331

Browse files
committed
Delete RUSTFLAGS fallback from build script
1 parent 08ce6ff commit 43cd331

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

build.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,6 @@ fn feature_allowed(feature: &str) -> bool {
157157
flags_var = encoded_rustflags;
158158
flags_var_string = flags_var.to_string_lossy();
159159
flags_var_string.split('\x1f')
160-
} else if let Some(rustflags) = env::var_os("RUSTFLAGS") {
161-
flags_var = rustflags;
162-
flags_var_string = flags_var.to_string_lossy();
163-
flags_var_string.split(' ')
164160
} else {
165161
return true;
166162
};

0 commit comments

Comments
 (0)