Skip to content

zephyr: Specify minimum rust version #94

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

zephyr: Specify minimum rust version #94

wants to merge 1 commit into from

Conversation

d3zd3z
Copy link
Collaborator

@d3zd3z d3zd3z commented Apr 23, 2025

To allow the 2024 edition of Rust to be used, one of our macros needs a new syntax, introduced in Rust 1.85 to declare that it is known that the macro expansion is unsafe.

This could work without the minimum rust version, as long as the macro isn't used, but is needed for tests, and Rust stable has already moved to 1.86, so it isn't an onerous requirement.

To allow the 2024 edition of Rust to be used, one of our macros needs a
new syntax, introduced in Rust 1.85 to declare that it is known that the
macro expansion is unsafe.

This could work without the minimum rust version, as long as the macro
isn't used, but is needed for tests, and Rust stable has already moved
to 1.86, so it isn't an onerous requirement.

Signed-off-by: David Brown <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants