Skip to content

//@ {unset-,}{rustc,exec}-env parsing is a footgun #132990

Open
@jieyouxu

Description

Apparently

//@ rustc-env: RUSTC_BOOTSTRAP=1

is not the same as

//@ rustc-env:RUSTC_BOOTSTRAP=1

compiletest will parse the former as an env var called ⌴RUSTC_BOOTSTRAP (incl. the whitespace).

Metadata

Assignees

No one assigned

    Labels

    A-compiletestArea: The compiletest test runnerC-bugCategory: This is a bug.E-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.E-needs-designThis issue needs exploration and design to see how and if we can fix/implement itT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions