Skip to content

rustbuild: make a config.toml entry for codegen tests #36232

Closed
@durka

Description

@durka

If you configure for system LLVM and run bootstrap.py without first running ./configure --disable-codegen-tests, the sanity check panics:

thread 'main' panicked at 'filecheck executable "/root/rust/FileCheck" does not exist', src/bootstrap/sanity.rs:93

(where /root/rust is the directory part of the path to llvm-config given in config.toml)

Per @alexcrichton there should be an option in config.toml to disable the codegen tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-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