Skip to content

Commit

Permalink
remove empty string from platform override
Browse files Browse the repository at this point in the history
  • Loading branch information
WesleyRosenblum committed Sep 27, 2024
1 parent 9f4ab30 commit cc35e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quic/s2n-quic-platform/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fn main() -> Result<(), Error> {
if let Some(list) = option_env("S2N_QUIC_PLATFORM_FEATURES_OVERRIDE") {
// iterate twice in case there is dependence on another feature that comes later
for _ in 0..2 {
for feature in list.split(',') {
for feature in list.split(',').filter(|&s| !s.is_empty()) {
features.insert(feature.trim().into());
}
}
Expand Down

0 comments on commit cc35e0d

Please sign in to comment.