Skip to content

Remove nightly/stable features when Rust 1.61 is released #23

Closed

Description

@phil-opp

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.

Activity

  1. Hugo4IT commented on Apr 1, 2022

    @Hugo4IT

    is there a temporary workaround for this, because right now I can't compile my stuff because of this.

  2. phil-opp commented on Apr 1, 2022

    @phil-opp
    MemberAuthor

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

  3. Hugo4IT commented on Apr 1, 2022

    @Hugo4IT

    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.

  4. added a commit that references this issue on Apr 15, 2022
    0e78b70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions