Remove `nightly`/`stable` features when Rust 1.61 is released
phil-opp opened this issue · 3 comments
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 the stable and nightly features of this crate to make MmioSerialPort::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.
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 cargo update -p uart_16550. If that doesn't fix your problem, please open a new issue with your exact compile error, and the rustc and uart_16550 versions that you're using.
I see, I thought running cargo clean before running again would update everything (my dependency is uart_16550 = "0.2"). Thanks for your quick help, it works now.