]> git.lizzy.rs Git - rust.git/commit
Fix double import in wasm thread
authorThomas Versteeg <thomas@versteeg.email>
Fri, 2 Jul 2021 09:37:00 +0000 (09:37 +0000)
committerGitHub <noreply@github.com>
Fri, 2 Jul 2021 09:37:00 +0000 (09:37 +0000)
commitd3bf89b302fca91afa2143170623b0f4a0d534f3
treee09b3ee1e490c64f36abc728fa09672f937c71b8
parent1aa6c7cbc6d2582e7407cde9c65014aef8a189bb
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.
library/std/src/sys/wasm/atomics/thread.rs