-
Notifications
You must be signed in to change notification settings - Fork 25
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 nightly
/stable
features when Rust 1.61 is released
#23
Comments
is there a temporary workaround for this, because right now I can't compile my stuff because of this. |
@Hugo4IT This issue is just about removing some features of this crate in the future, it should not be releated to any breakage. There was a recent breakage on the latest nightly that was fixed by #22. You can update to that fix by running |
I see, I thought running |
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]>
The
const_ptr_offset
feature was stabilized in rust-lang/rust#93957. We removed that feature gate from this crate in #22. Right now, we still need thestable
andnightly
features of this crate to makeMmioSerialPort::new
a const function on nightly, but on Rust 1.61 this should be supported on stable as well. So we should remove the crate features when 1.61 is released.The text was updated successfully, but these errors were encountered: