Skip to content

Support atomic_fence instrinstic #972

Closed
@jonhoo

Description

@jonhoo

I'd love to try miri on evmap, but sadly I get the following error:

error[E0080]: Miri evaluation error: unimplemented intrinsic: atomic_fence
    --> /home/jon/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/sync/atomic.rs:2412:23
     |
2412 |             SeqCst => intrinsics::atomic_fence(),
     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ Miri evaluation error: unimplemented intrinsic: atomic_fence
     |
note: inside call to `std::sync::atomic::fence` at src/write.rs:306:9
    --> src/write.rs:306:9
     |
306  |         atomic::fence(atomic::Ordering::SeqCst);
     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Is this a known issue? Some cursory searching did not yield anything that seemed relevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-shimsArea: This affects the external function shimsC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementE-good-first-issueA good way to start contributing, mentoring is available

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions