Skip to content

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

@jyn514

Description

@jyn514
Member

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

added
A-diagnosticsArea: Messages for errors, warnings, and lints
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
A-craneliftThings relevant to the [future] cranelift backend
A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to Rust
on Mar 18, 2023
onur-ozkan

onur-ozkan commented on Jul 31, 2023

@onur-ozkan
Member

@rustbot claim

added 3 commits that reference this issue on Aug 10, 2023
87c94dd
ed7efeb
b9648d4
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

    Participants

    @jyn514@onur-ozkan

    Issue actions

      `codegen-backends = ["rustc_codegen_cranelift"]` should give a better error message · Issue #109315 · rust-lang/rust