Skip to content

Web Assembly Atomic fence support in atomic::fence #72997

Closed
@poliorcetics

Description

@poliorcetics

The function pub fence(order: Ordering) in libcore/sync/atomic.rs does nothing when compiled for Web Assembly.

This stem from an old issue in web assembly #WebAssembly/tool-conventions/issues/59 and LLVM crashing (at the time) with it.

This has since been fixed, notably for LLVM, maybe we can remove the #[cfg(...)] and comment about it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-wasmTarget: WASM (WebAssembly), http://webassembly.org/T-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions