Skip to content

Commit

Permalink
fix: unexpected cfg condition-name wasm in rust nightly (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluisq committed May 12, 2024
1 parent cfd8bb1 commit d4046d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/settings/cli.rs
Expand Up @@ -53,7 +53,7 @@ pub struct General {
pub fd: Option<usize>,

#[cfg_attr(
not(wasm),
not(target_family = "wasm"),
arg(
long,
short = 'n',
Expand All @@ -62,7 +62,7 @@ pub struct General {
)
)]
#[cfg_attr(
wasm,
target_family = "wasm",
arg(
long,
short = 'n',
Expand All @@ -77,7 +77,7 @@ pub struct General {
pub threads_multiplier: usize,

#[cfg_attr(
not(wasm),
not(target_family = "wasm"),
arg(
long,
short = 'b',
Expand All @@ -86,7 +86,7 @@ pub struct General {
)
)]
#[cfg_attr(
wasm,
target_family = "wasm",
arg(
long,
short = 'b',
Expand Down

0 comments on commit d4046d9

Please sign in to comment.