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

Use inline const of Rust 1.79 #115

Merged
merged 2 commits into from
Aug 29, 2024
Merged

Use inline const of Rust 1.79 #115

merged 2 commits into from
Aug 29, 2024

Conversation

chrysn
Copy link
Member

@chrysn chrysn commented Aug 28, 2024

Several assert statements in the code were eligible for const promotion (turning them into build time errors) with 1.79, which is becoming available in CI as per RIOT-OS/RIOT#20840

@chrysn chrysn merged commit fcfceb6 into main Aug 29, 2024
67 checks passed
@chrysn chrysn deleted the more-const branch August 29, 2024 08:23
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.

1 participant