Skip to content

Conversation

folkertdev
Copy link
Contributor

tracking issue: #75835
fixes #147242

Refactors some logic to be more robust in the future, and then disallows impl Trait as a return type for the cmse ABIs.

The is_valid_cmse_output_layout function disallows union values like before. That is not entirely correct preserves the current behavior. Some additional logic is needed for union values (and any types where parts may be uninitialized) that I'll tackle in a later PR.

can be reviewed commit-by-commit.

r? types

@folkertdev folkertdev added the F-cmse_nonsecure_entry `#![feature(cmse_nonsecure_entry)]` label Oct 1, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 1, 2025

HIR ty lowering was modified

cc @fmease

@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 Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-cmse_nonsecure_entry `#![feature(cmse_nonsecure_entry)]` 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cmse-nonsecure-entry hits query cycle when returning impl Trait
3 participants