Skip to content

./x test mir-opt --bless fails due to missing -Zjson-target-spec #154340

@RalfJung

Description

@RalfJung

When I run ./x test mir-opt --bless, I get a bunch of output that ends in

Testing stage1 with compiletest suite=mir-opt mode=mir-opt (i686-pc-windows-msvc)

running 383 tests
i.......................................................................................  88/383
......................................................................................i. 176/383
.......i..........................i..................................................... 264/383
.......................................................i................................ 352/383
...............................

test result: ok. 378 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 1.68s

Building stage1 library artifacts (stage1:x86_64-unknown-linux-gnu -> stage1:x86_64-apple-darwin-synthetic-miropt-abort(/home/r/src/rust/rustc/build/synthetic-target-specs/x86_64-apple-darwin-synthetic-miropt-abort.json))
error: `.json` target specs require -Zjson-target-spec
Build completed unsuccessfully in 0:00:50

Seems like yet another bit of fallout from #150151; Cc @davidtwco

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-target-specsArea: Compile-target specificationsA-test-infraArea: test infrastructure (may span bootstrap/compiletest/more)C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions