Skip to content

we should probably update to a nightly toolchain that's not from 2024 #2165

@hawkw

Description

@hawkw

Our current nightly toolchain pinned in rust-toolchain.toml is nightly-2024-09-17, which is apparently too old to support the Rust 2024 edition. Also, it's...from 2024. We should probably update to a newer nightly at some point.

eliza@theseus ~/Code/oxide/hubris $ cargo xtask build app/gimletlet/app-ereportlet.toml packrat
error: failed to load manifest for workspace member `/home/eliza/Code/oxide/hubris/lib/minicbor-lease`
referenced by workspace at `/home/eliza/Code/oxide/hubris/Cargo.toml`

Caused by:
  failed to parse manifest at `/home/eliza/Code/oxide/hubris/lib/minicbor-lease/Cargo.toml`

Caused by:
  feature `edition2024` is required

  The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.83.0-nightly (a9a418d1a 2024-09-15)).
  Consider adding `cargo-features = ["edition2024"]` to the top of Cargo.toml (above the [package] table) to tell Cargo you are opting in to use this unstable feature.
  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.

It would be nice to update to a newer nightly and switch to the 2024 edition, but I would rather not do that as part of this PR.

Originally posted by @hawkw in #2164 (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