Skip to content

Implement ptr_mask intrinsic #2624

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Oct 27, 2022
Merged

Conversation

WaffleLapkin
Copy link
Member

I promised I'll implement it, but then forgot 😅

@RalfJung
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Oct 27, 2022

📌 Commit d2ff47a has been approved by RalfJung

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Oct 27, 2022

⌛ Testing commit d2ff47a with merge c3d67d4...

@bors
Copy link
Contributor

bors commented Oct 27, 2022

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing c3d67d4 to master...

1 similar comment
@bors
Copy link
Contributor

bors commented Oct 27, 2022

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing c3d67d4 to master...

@bors bors merged commit c3d67d4 into rust-lang:master Oct 27, 2022
@RalfJung
Copy link
Member

I was wondering why we hadn't noticed this earlier... turns out there is no doctest and no libcore unit test for this function, so it is not hit by miri-test-libstd. Probably just some ui tests? AFAIK we're trying to avoid using ui tests for things where unit tests could be used.

@WaffleLapkin WaffleLapkin deleted the iforgor💀 branch October 29, 2022 09:38
@WaffleLapkin
Copy link
Member Author

fyi: I've filled a PR to add doc tests to the pointer::mask functions: rust-lang/rust#103694

bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 30, 2022
RalfJung pushed a commit to RalfJung/miri that referenced this pull request Nov 5, 2022
RalfJung pushed a commit to RalfJung/rust-analyzer that referenced this pull request Apr 20, 2024
RalfJung pushed a commit to RalfJung/rust-analyzer that referenced this pull request Apr 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants