Skip to content

Commit

Permalink
Fix enabling the same unstable feature twice (#4338)
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored Dec 8, 2024
1 parent 5b38cb1 commit afea96e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@
//! interface.
#![no_std]
#![cfg_attr(wasm_bindgen_unstable_test_coverage, feature(coverage_attribute))]
#![cfg_attr(
wasm_bindgen_unstable_test_coverage,
feature(coverage_attribute, allow_internal_unstable),
allow(internal_features)
all(not(feature = "std"), target_feature = "atomics"),
feature(thread_local)
)]
#![cfg_attr(
all(not(feature = "std"), target_feature = "atomics"),
feature(thread_local, allow_internal_unstable),
any(
all(not(feature = "std"), target_feature = "atomics"),
wasm_bindgen_unstable_test_coverage
),
feature(allow_internal_unstable),
allow(internal_features)
)]
#![allow(coherence_leak_check)]
Expand Down

0 comments on commit afea96e

Please sign in to comment.