Implement core::arch::return_address and tests#154972
Conversation
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Helpful comment, thanks rustbot 😐 |
There was a problem hiding this comment.
I'm not a huge fan of the doc comment's language. Could you try iterating on it a bit?
I think adding the cranelift implementation in this PR would also make sense (and maybe a gcc backend implementation -- not sure how easy that is?).
r=me with at least the comment fixed.
|
Reminder, once the PR becomes ready for a review, use |
|
Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 |
|
I've changed the wording of the comment arround a bit, in part to make it more clear than returning null is something the compiler tries to do if it can't return a useful value for some reason, but doesn't guarantee. I've also added a cranelift impl. I'll figure out gcc/miri in a future PR. @rustbot ready |
|
r=me with commits squashed r? me |
11bfbbc to
d6da4ea
Compare
|
This pull request was unapproved. This PR was contained in a rollup (#155824), which was unapproved. |
|
I don't think I can run try, so I'm just going to ready. @rustbot ready |
|
@bors try jobs=x86_64-gnu-aux |
This comment has been minimized.
This comment has been minimized.
Implement `core::arch::return_address` and tests try-job: x86_64-gnu-aux
|
💔 Test for 4c27a6c failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
|
@bors try jobs=x86_64-gnu-aux |
This comment has been minimized.
This comment has been minimized.
Implement `core::arch::return_address` and tests try-job: x86_64-gnu-aux
|
@rustbot ready |
|
@bors r=Mark-Simulacrum |
…uwer Rollup of 10 pull requests Successful merges: - #156394 (miri subtree update) - #154972 (Implement `core::arch::return_address` and tests) - #155679 (rustdoc: Reify emission types) - #155982 (Fix closure HIR span context mismatch) - #156323 (Handle --print=backend-has-mnemonic in cg_clif) - #156387 (std fs tests: avoid matching on OS-provided error string) - #156129 (compiletest: Migrate from `PassMode`/`FailMode` to `PassFailMode`) - #156192 (core: Replace `ptr::slice_from_raw_parts` with `slice::from_raw_parts`) - #156365 (stream_send_recv_stress tests: wait for threads to finish) - #156368 (Fix invalid unreachable in is_known_valid_scrutinee for Reborrow)
…uwer Rollup of 10 pull requests Successful merges: - rust-lang/rust#156394 (miri subtree update) - rust-lang/rust#154972 (Implement `core::arch::return_address` and tests) - rust-lang/rust#155679 (rustdoc: Reify emission types) - rust-lang/rust#155982 (Fix closure HIR span context mismatch) - rust-lang/rust#156323 (Handle --print=backend-has-mnemonic in cg_clif) - rust-lang/rust#156387 (std fs tests: avoid matching on OS-provided error string) - rust-lang/rust#156129 (compiletest: Migrate from `PassMode`/`FailMode` to `PassFailMode`) - rust-lang/rust#156192 (core: Replace `ptr::slice_from_raw_parts` with `slice::from_raw_parts`) - rust-lang/rust#156365 (stream_send_recv_stress tests: wait for threads to finish) - rust-lang/rust#156368 (Fix invalid unreachable in is_known_valid_scrutinee for Reborrow)
View all comments
Tracking issue: #154966
Implements libs-team#768