Skip to content

Update exchange_malloc to take Alignment too#152685

Open
scottmcm wants to merge 1 commit intorust-lang:mainfrom
scottmcm:smaller-alignment-change
Open

Update exchange_malloc to take Alignment too#152685
scottmcm wants to merge 1 commit intorust-lang:mainfrom
scottmcm:smaller-alignment-change

Conversation

@scottmcm
Copy link
Member

@scottmcm scottmcm commented Feb 16, 2026

#152605 updated the shim (__rust_alloc and friends), but not the special one that box uses. So do that one too.

This is split out from #152641 in hopes of simplifying things.

r? @cjgillot

@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. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Feb 16, 2026
@cjgillot
Copy link
Contributor

r=me if perf is ok

@scottmcm
Copy link
Member Author

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Feb 16, 2026
Update `exchange_malloc` to take `Alignment` too
@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Feb 16, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 16, 2026

☀️ Try build successful (CI)
Build commit: ee4b7f6 (ee4b7f6be1ff7c54d2f794480518f9e5528e5034, parent: 139651428df86cf88443295542c12ea617cbb587)

@rust-timer
Copy link
Collaborator

Queued ee4b7f6 with parent 1396514, future comparison URL.
There is currently 1 preceding artifact in the queue.
It will probably take at least ~2.0 hours until the benchmark run finishes.

@scottmcm scottmcm force-pushed the smaller-alignment-change branch from 953e0dd to 20b897d Compare February 16, 2026 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-perf Status: Waiting on a perf run to be completed. 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. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants