Skip to content

Add fetch_and, fetch_or, fetch_nand, fetch_xor to AtomicInt, AtomicUint #12949

@brson

Description

@brson
Contributor

I don't see any reason these shouldn't exist.

Activity

alexcrichton

alexcrichton commented on Mar 16, 2014

@alexcrichton
Member

cc #8151 and #10154

It appears that we removed these originally because they were lowered to intrinsic calls on arm. Now that we're linking to compiler-rt, though (and passing v7 by default on arm), this is probably fine.

added a commit that references this issue on Apr 10, 2020
added a commit that references this issue on Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @alexcrichton@brson

      Issue actions

        Add fetch_and, fetch_or, fetch_nand, fetch_xor to AtomicInt, AtomicUint · Issue #12949 · rust-lang/rust