Skip to content

codegen-backends = ["rustc_codegen_cranelift"] should give a better error message #109315

Description

@jyn514

I tried this code:

echo 'codegen-backends = ["rustc_codegen_cranelift"]` >> config.toml
x test ui

I expected to see this happen: An error saying that rustc_codegen_cranelift is invalid and should be cranelift instead.

Instead, this happened:

Building stage0 codegen backend rustc_codegen_cranelift
error: manifest path `/home/jyn/src/rust2/compiler/rustc_codegen_rustc_codegen_cranelift/Cargo.toml` does not exist

Meta

HEAD is branched from 13afbda

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustA-craneliftThings relevant to the [future] cranelift backendA-diagnosticsArea: Messages for errors, warnings, and lintsT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions