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

[Tracking]: Pursue stabilization for Rust RFC 2972: "Constrained Naked Functions" #1269

Closed
1 task done
bstrie opened this issue Jan 25, 2022 · 2 comments
Closed
1 task done
Assignees
Labels
external Tracking remote issues in other repositories

Comments

@bstrie
Copy link
Contributor

bstrie commented Jan 25, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Description

In service of getting off of the nightly Rust toolchain and onto the stable one, we need upstream Rust to finish stabilizing some of the necessary features that we rely on. This issue tracks the stabilization of one such feature, constrained naked functions: rust-lang/rust#90957

Acceptance Criteria

This issue can be closed when rust-lang/rust#90957 is closed.

Suggestions for a technical implementation

No response

@bstrie bstrie added enhancement New feature or request triage Issues that need to be triaged. labels Jan 25, 2022
@bstrie bstrie self-assigned this Jan 25, 2022
@bstrie bstrie added external Tracking remote issues in other repositories and removed enhancement New feature or request triage Issues that need to be triaged. labels Jan 25, 2022
@bstrie bstrie mentioned this issue Feb 11, 2022
12 tasks
@bstrie
Copy link
Contributor Author

bstrie commented Feb 15, 2022

Status update: the Rust lang team has voted to officially supersede RFC 1201 (the original Naked Functions RFC) with RFC 2972 (Constrained Naked Functions), closing rust-lang/rust#32408 and removing one obstacle to stabilization.

I have filed a stabilization report for RFC 2972 at rust-lang/rust#90957 (comment) , which needs one more vote from a lang team member before it can enter FCP. However, before that can happen we must also resolve one new concern regarding the compatibility of #[naked] with various other attributes; to resolve this concern I have an in-progress PR at rust-lang/rust#93809 (only a medium priority for me at the moment).

At this point, I anticipate that naked functions will reach stable as of Rust 1.61 (scheduled for stable release 2022-05-19) at the earliest.

@dpal dpal moved this to New in Enarx Board Nov 29, 2022
@dpal dpal added this to Enarx Board Nov 29, 2022
@dpal
Copy link

dpal commented Dec 1, 2022

We are not going to continue this effort due to the existing alternative solution.

@dpal dpal closed this as completed Dec 1, 2022
Repository owner moved this from New to Done in Enarx Board Dec 1, 2022
@dpal dpal removed this from Enarx Board Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Tracking remote issues in other repositories
Projects
None yet
Development

No branches or pull requests

2 participants