6

Forbid mixing `System` with direct sytem allocator calls by CAD97 · Pull Request...

 2 years ago
source link: https://github.com/rust-lang/rust/pull/101394
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Forbid mixing System with direct sytem allocator calls #101394

Merged

Conversation

Contributor

@CAD97 CAD97 commented 5 days ago

e.g. on windows, trying to mix System::alloc and HeapFree will not work because of the extra work done to serve higher alignments.

All reactions

CAD97

marked this pull request as ready for review

5 days ago

rustbot

added the T-libs Relevant to the library team, which will review and decide on the PR/issue. label

5 days ago

Collaborator

rust-highfive commented 5 days ago

r? @Mark-Simulacrum

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

rust-highfive

added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label

5 days ago

Mark-Simulacrum

added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. S-waiting-on-fcp Status: PR is in FCP and is awaiting for FCP to complete. I-libs-api-nominated Indicates that an issue has been nominated for discussion during a libs-api team meeting. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed T-libs Relevant to the library team, which will review and decide on the PR/issue. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. S-waiting-on-fcp Status: PR is in FCP and is awaiting for FCP to complete.

labels

4 days ago

@bors r+ rollup

I'll nominate in case libs-api has other opinions, but I think this basically just documents the current state and one that isn't really plausible to change (more restrictive on users rather than more permissive, too), so I don't think a dedicated FCP is necessary here.

Contributor

bors commented 4 days ago

pushpin Commit 69721de has been approved by Mark-Simulacrum

It is now in the queue for this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Labels
I-libs-api-nominated Indicates that an issue has been nominated for discussion during a libs-api team meeting. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects

None yet

Milestone

1.65.0

Development

Successfully merging this pull request may close these issues.

None yet

5 participants

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK