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

remove all uses of unstable const_in_array_repeat_expressions feature #2215

Merged
merged 1 commit into from
Dec 2, 2020

Conversation

hudson-ayers
Copy link
Contributor

Pull Request Overview

This pull request removes all uses of the unstable const_in_array_repeat_expressions feature. It was originally necessary in order to have ergonomic scheduler components, but a subset of the feature that is sufficient for our use was accidentally stabilized, and the Rust maintainers are moving to make that stabilization permanent (see rust-lang/rust#79270). So this is an easy way to get rid of an unstable feature.

Testing Strategy

This pull request was tested by compiling and flashing several apps on an Imix.

TODO or Help Wanted

N/A

Documentation Updated

  • No updates are required.

Formatting

  • Ran make prepush.

Copy link
Member

@lschuermann lschuermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reading the Rust PR it seems like this is only a proposal to acknowledge that [CONST; N] is stable, not a commitment. Nonetheless this change can't hurt and it seems much closer to stable (well, actually is) than const_in_array_repeat_expression.

@hudson-ayers hudson-ayers added the P-Upkeep This a relatively minor change, or one that is limited in scope, and requires less scrutiny. label Nov 24, 2020
@bradjc
Copy link
Contributor

bradjc commented Dec 2, 2020

bors r+

1 similar comment
@bradjc
Copy link
Contributor

bradjc commented Dec 2, 2020

bors r+

@bors bors bot merged commit b939473 into tock:master Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-Upkeep This a relatively minor change, or one that is limited in scope, and requires less scrutiny.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants