Skip to content

Rust cannot compile itself, as a cargo dependency #44298

Closed
@kd8azz

Description

@kd8azz

Cargo.toml:

[dependencies]
syntax = { git = "https://github.com/rust-lang/rust/", branch = "stable" }

Command:
cargo build --all

Expected: Syntax module is imported.
Actual:
Stable and Beta rustc channels complian "#![feature] may not be used ..."
Nightly rustc channel just doesn't work.

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