Skip to content

rustc 1.87 fails to build #20

@awatkins1966

Description

@awatkins1966

Hi,

I am trying to build rustc 1.87 but it fails. Is there some extra steps required to build it, since it doesn't seem to build on current Solaris SRU version of cargo 1.78?
Need latest version for ClamAV software.

$ gmake publish
warning: both `/scratch/clone/components/rust/rustc/build/.cargo/config` and `/scratch/clone/components/rust/rustc/build/.cargo/config.toml` exist. Using `/scratch/clone/components/rust/rustc/build/.cargo/config`
error: unknown `-Z` flag specified: root-dir

or if I build by hand

$ env RUSTFLAGS="-Zroot-dir=/scratch/clone/components/rust/rustc/rustc-1.87.0-src" /usr/bin/cargo build --manifest-path /scratch/clone/components/rust/rustc/rustc-1.87.0-src/src/bootstrap/Cargo.toml
warning: both `/scratch/clone/components/rust/rustc/build/.cargo/config` and `/scratch/clone/components/rust/rustc/build/.cargo/config.toml` exist. Using `/scratch/clone/components/rust/rustc/build/.cargo/config`
error: failed to parse manifest at `/scratch/clone/components/rust/rustc/rustc-1.87.0-src/src/bootstrap/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.78.0)

Thanks,
Andrew

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