Skip to content

Commit 9ef7541

Browse files
committed
Restrict cfg gating on unix to not interfere with emscripten target
1 parent f4e1b2f commit 9ef7541

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • library/std/src/sys/args

library/std/src/sys/args/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ mod common;
1515

1616
cfg_select! {
1717
any(
18-
all(target_family = "unix", not(any(target_family = "wasm", target_os = "espidf", target_os = "vita"))),
18+
all(target_family = "unix", not(any(all(target_family = "wasm", target_os = "linux"), target_os = "espidf", target_os = "vita"))),
1919
target_os = "hermit",
2020
) => {
2121
mod unix;

0 commit comments

Comments
 (0)