Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

cmse: add test forasync andconst functions#148536

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
folkertdev wants to merge1 commit intorust-lang:master
base:master
Choose a base branch
Loading
fromfolkertdev:cmse-async-const-fn

Conversation

@folkertdev
Copy link
Contributor

tracking issue:#81391
tracking issue:#75835

Some additional tests that seemed useful while working on the RFC text.

async functions are disallowed (because-> impl Trait is not supported).

const entry functions are allowed,nonsecure-call does not make sense, because this abi can only be used on function pointers, which cannot be evaluated during constant evaluation.

The async test is in thec-variadic.rs file because it has the minicore-compatible machinery for defining an async function. Splitting that logic out (likeminisimd.rs) turns out to be complicated because the async stuff relies on types defined by minicore.

r?@davidtwco

async functions are disallowed (because `-> impl Trait` is not supported). `const` entry functions are allowed, nonsecure-call functions must be function pointers, which cannot be evaluated during constant evaluation.
@rustbotrustbot added S-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties. T-compilerRelevant to the compiler team, which will review and decide on the PR/issue. labelsNov 5, 2025
@workingjubileeworkingjubilee added the F-cmse_nonsecure_entry`#![feature(cmse_nonsecure_entry)]` labelNov 5, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

@davidtwcodavidtwco

Labels

F-cmse_nonsecure_entry`#![feature(cmse_nonsecure_entry)]`S-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@folkertdev@davidtwco@workingjubilee@rustbot

[8]ページ先頭

©2009-2025 Movatter.jp