Skip to content

Find MSVC Cargo build outputs in the Wave case runner #499

Closed

Description

@LunaStev

tools/run_tests.py::resolve_wavec() probes default Cargo outputs and explicit x86_64-pc-windows-gnu directories. It omits explicit x86_64-pc-windows-msvc and aarch64-pc-windows-msvc outputs. Consequently an MSVC build performed with cargo build --target ... can leave the case runner reporting no compiler, or selecting an unrelated stale build.

Add both MSVC output locations with deliberate precedence. Prefer an explicit compiler-path option if one is supplied and ensure a selected host architecture cannot silently run a different compiler. Isolate path selection enough to test it using temporary directories without starting LLVM or importing the runner's executable main path.

Acceptance: tests cover debug/release, both MSVC architectures, an absent compiler, and conflicting stale binaries; existing GNU/default output selection keeps working. Document the selected compiler in test output. This is a small Python tooling task; no Rust compiler or frontend redesign is required.

Related: #292, #493. Keep Windows GNU support.

Activity

  1. added
    build
    good first issue
    cross-platform
    on Sep 7, 2026
  2. self-assigned this
    on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buildcross-platformgood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions