-
Notifications
You must be signed in to change notification settings - Fork 13.3k
make typeid::typeid_itanium_cxx_abi::transform_ty
evaluate length in array types
#114672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @fee1-dead (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
This PR could really use a better title, one that describes what it does. The "fixes ###" part can go in the PR description. |
typeid/typeid_itanium_cxx_abi.rs
evaluate length in array types
typeid/typeid_itanium_cxx_abi.rs
evaluate length in array typestypeid::typeid_itanium_cxx_abi::transform_ty
evaluate length in array types
is this title better? |
Yes. Also, this needs a test too Please put it with the other CFI tests, probably in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix typo and squash this into one commit, then i can approve
r? @compiler-errors @bors r+ rollup |
📌 Commit bd5dfbcbdca72ac158f558c95c1502414edf89a8 has been approved by It is now in the queue for this repository. |
This comment has been minimized.
This comment has been minimized.
@bors r- |
@bors r+ |
make `typeid::typeid_itanium_cxx_abi::transform_ty` evaluate length in array types the ICE in rust-lang#114275 was caused by `transform_ty` in compiler/rustc_symbol_mangling/src/typeid/typeid_itanium_cxx_abi.rs encountering an unevaluated const, while expecting it to already be evaluated.
@bors r- |
this ICE was caused by `transform_ty` in compiler/rustc_symbol_mangling/src/typeid/typeid_itanium_cxx_abi.rs encountering an unevaluated const, while expecting it to already be evaluated. add a regression test Update tests/ui/sanitize/issue-114275-cfi-const-expr-in-arry-len.rs Co-authored-by: Michael Goulet <[email protected]> Update tests/ui/sanitize/issue-114275-cfi-const-expr-in-arry-len.rs Co-authored-by: Michael Goulet <[email protected]> fix test compiling for targets with -crt-static and failing this was causign rust-lang#114686 to fail
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (4d7a80d): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 632.612s -> 632.73s (0.02%) |
the ICE in #114275 was caused by
transform_ty
in compiler/rustc_symbol_mangling/src/typeid/typeid_itanium_cxx_abi.rs encountering an unevaluated const, while expecting it to already be evaluated.