Skip to content

Commit

Permalink
Rollup merge of #86807 - tversteeg:patch-1, r=bjorn3
Browse files Browse the repository at this point in the history
Fix double import in wasm thread

The `unsupported` type is imported two times, as `super::unsupported` and as `crate::sys::unsupported`, throwing an error. Remove `super::unsupported` in favor of the other.

As reported in #86802.

Fix #86802
  • Loading branch information
JohnTitor committed Jul 2, 2021
2 parents 6107340 + d3bf89b commit df55204
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/std/src/sys/wasm/atomics/thread.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use super::unsupported;
use crate::ffi::CStr;
use crate::io;
use crate::num::NonZeroUsize;
Expand Down

0 comments on commit df55204

Please sign in to comment.