Skip to content

wasm-component-ld is installed into *-pc-windows-gnu{,llvm} sysroot even when it's disabled in config #131773

Closed
@ognevny

Description

@ognevny
Contributor

the config enables these tools

tools = [
  "cargo",
  "clippy",
  "rustdoc",
  "rustfmt",
  "rust-analyzer-proc-macro-srv",
  "analysis",
  "src",
]

but wasm-component-ld is built anyway and (starting with 1.82.0) installed into target's sysroot even when there is such tool in $PATH available. lld = false is set explicitly

Activity

added
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Oct 16, 2024
added
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
C-bugCategory: This is a bug.
on Oct 16, 2024
ognevny

ognevny commented on Oct 16, 2024

@ognevny
ContributorAuthor

update: I encountered it in msys2/MINGW-packages#22205

jieyouxu

jieyouxu commented on Oct 16, 2024

@jieyouxu
Member

cc @onur-ozkan I think you worked on unifying llvm-tools logic, do you know if this is intentional?

ognevny

ognevny commented on Oct 16, 2024

@ognevny
ContributorAuthor

turns out #130034 fixed it. thanks Alex!

added
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
and removed
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.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

        Participants

        @jieyouxu@rustbot@ognevny

        Issue actions

          `wasm-component-ld` is installed into `*-pc-windows-gnu{,llvm}` sysroot even when it's disabled in config · Issue #131773 · rust-lang/rust