Skip to content

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
Copy link
Contributor

bors bot commented Dec 2, 2020

@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.

4 participants