Skip to content

Bootstrap build failing on Windows (MSVC) #98546

@BlaCoiso

Description

@BlaCoiso

Commit 418b1fa broke builds on Windows as llvm-config has a .exe extension but

let llvm_config = llvm_root.join("bin/llvm-config");
t!(filetime::set_file_times(&llvm_config, now, now));

does not take that into account, resulting in a file not found error and bootstrap panicking.

Patching line 163 with

let llvm_config = llvm_root.join("bin").join(exe("llvm-config", builder.config.build));

fixes the build.

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