Skip to content

[DO NOT MERGE] compiler/global_allocator: no static mut global allocator#156992

Open
nia-e wants to merge 1 commit into
rust-lang:mainfrom
nia-e:global-alloc-must-immut
Open

[DO NOT MERGE] compiler/global_allocator: no static mut global allocator#156992
nia-e wants to merge 1 commit into
rust-lang:mainfrom
nia-e:global-alloc-must-immut

Conversation

@nia-e
Copy link
Copy Markdown
Member

@nia-e nia-e commented May 26, 2026

Experiment to see if forbidding static mut global allocators would work. cc @Amanieu

r? @ghost

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 26, 2026
@nia-e nia-e added A-allocators Area: Custom and system allocators S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 26, 2026
@nia-e

This comment was marked as outdated.

@craterbot

This comment was marked as outdated.

@nia-e
Copy link
Copy Markdown
Member Author

nia-e commented May 26, 2026

@bors try

rust-bors Bot pushed a commit that referenced this pull request May 26, 2026
[DO NOT MERGE] compiler/global_allocator: no static mut global allocator
@rust-bors

This comment has been minimized.

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 26, 2026

☀️ Try build successful (CI)
Build commit: f16624c (f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2, parent: b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1)

@nia-e
Copy link
Copy Markdown
Member Author

nia-e commented May 26, 2026

@craterbot check

@craterbot
Copy link
Copy Markdown
Collaborator

👌 Experiment pr-156992 created and queued.
🤖 Automatically detected try build f16624c
🔍 You can check out the queue and this experiment's details.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot craterbot added S-waiting-on-crater Status: Waiting on a crater run to be completed. and removed S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. labels May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-allocators Area: Custom and system allocators S-waiting-on-crater Status: Waiting on a crater run to be completed. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants