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 use of stable and nightly features #24

Merged
merged 1 commit into from
Apr 16, 2022

Conversation

josephlr
Copy link
Contributor

We can now use rustversion to mark MmioSerialPort::new() as const or
not depending on the rust version. The features can't be removed yet as
that would be a breaking change.

This removes code duplication and lets us avoid increasing our MSRV. We also no longer need any nightly features for x86_64 with the release of 0.14.9.

Fixes #23

Signed-off-by: Joe Richey [email protected]

We can now use `rustversion` to mark `MmioSerialPort::new()` as const or
not depending on the rust version. The features can't be removed yet as
that would be a breaking change.

This removes code duplication and lets us avoid increasing our MSRV.

Fixes rust-osdev#23

Signed-off-by: Joe Richey <[email protected]>
Copy link
Member

@phil-opp phil-opp left a comment

Choose a reason for hiding this comment

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

Awesome, thanks a lot!

@phil-opp phil-opp merged commit c8c936a into rust-osdev:master Apr 16, 2022
@phil-opp
Copy link
Member

Published as v0.2.18

phil-opp added a commit that referenced this pull request Apr 16, 2022
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.

Remove nightly/stable features when Rust 1.61 is released
2 participants