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

apple add mach_vm_map, mmap does not provide custom alignment so #2283

Merged
merged 1 commit into from
Jul 14, 2021
Merged

apple add mach_vm_map, mmap does not provide custom alignment so #2283

merged 1 commit into from
Jul 14, 2021

Conversation

devnexen
Copy link
Contributor

mach_vm_map is only way.

@rust-highfive
Copy link

r? @m-ou-se

(rust-highfive has picked a reviewer for you, use r? to override)

@JohnTitor
Copy link
Member

We've deprecated mach-related items since #1364 and a change like this should go to the mach crate, I think.

@devnexen
Copy link
Contributor Author

devnexen commented Jul 13, 2021

I thought that but the crate had not been updated since 2019. Seems the maintainer is not responsive these days fitzgen/mach#63

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uhm, that's unfortunate, we definitely should consider not suggesting that crate on the deprecation note and open an issue to discuss further.
Anyway, this PR should be fine then, thanks for clarifying!

@@ -1700,6 +1700,7 @@ mach_port_t
mach_thread_self
mach_timebase_info
mach_timebase_info_data_t
mach_vm_map
Copy link
Member

@JohnTitor JohnTitor Jul 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, the list seems incomplete for the changes in this PR.

@JohnTitor JohnTitor assigned JohnTitor and unassigned m-ou-se Jul 13, 2021
@JohnTitor
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Jul 14, 2021

📌 Commit d5bb01c has been approved by JohnTitor

@bors
Copy link
Contributor

bors commented Jul 14, 2021

⌛ Testing commit d5bb01c with merge 480ba68...

@bors
Copy link
Contributor

bors commented Jul 14, 2021

☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing 480ba68 to master...

@bors bors merged commit 480ba68 into rust-lang:master Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants