Skip to content
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

librustc: Add an intrinsic to retrieve the return pointer of a function. #16248

Closed
wants to merge 1 commit into from

Conversation

pcwalton
Copy link
Contributor

@pcwalton pcwalton commented Aug 4, 2014

This is needed for some GC stuff in Servo.

r? @alexcrichton

@luqmana
Copy link
Member

luqmana commented Aug 5, 2014

Pulled in as part of #16081.

@luqmana luqmana closed this Aug 5, 2014
bors added a commit that referenced this pull request Jun 27, 2016
Remove the return_address intrinsic.

This intrinsic to get the return pointer was introduced in #16248 / #16081 by @pcwalton for Servo.
However, as explained in #34227, it's impossible to ensure it's used correctly, and it broke with `-Zorbit`.

Servo's usage is being replaced in servo/servo#11872, and I expect nobody else to have abused it.
But I've also started a crater run, just in case this is a `[breaking-change]` for anyone else.
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 8, 2024
internal: Add proc-macro-test crate back to the main workspace

Should fix rust-lang/rust-analyzer#16194
# 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.

4 participants