Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make copy/copy_nonoverlapping fn's again #86003

Merged
merged 8 commits into from
Jun 9, 2021

Commits on Jun 4, 2021

  1. Revert effects of PRs 81167 and 83091.

    This is preparation for reverting 81238 for short-term resolution of issue 84297.
    pnkfelix committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    9d96b0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cebfcd3 View commit details
    Browse the repository at this point in the history
  3. Revert PRs 81238 and 82967 (which made copy and copy_nonoverlapping i…

    …ntrinsics).
    
    This is to address issue 84297.
    pnkfelix committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    5f6016f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0728256 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e118a2c View commit details
    Browse the repository at this point in the history
  6. Change test to use likely/unlikely instead of copy/`copy_overla…

    …pping`.
    
    Test was added in PR rust-lang#84404.
    
    The intent here is: The `copy`/`copy_overlapping` intrinsics are going through
    some flip-flopping now of "are they intrinsics or not". We can achieve the same
    effect that the test intended by using `likely`/`unlikely`.
    pnkfelix committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    a5cb9af View commit details
    Browse the repository at this point in the history
  7. With the revert of PR 83091, swap is not a const fn anymore.

    (for the short term, that is; see issue 84297.)
    pnkfelix committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    34deda3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f08f933 View commit details
    Browse the repository at this point in the history