Skip to content

Require optimization flag for codegen tests #151580

@nikic

Description

@nikic

New codegen tests often bounce on gnu-nopt. It would probably make sense to require that codegen tests explicitly specify -C opt-level.

Or possibly they should just always be run with optimizations unless explicitly overridden.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-compiletestArea: The compiletest test runnerA-test-infraArea: test infrastructure (may span bootstrap/compiletest/more)A-testsuiteArea: The testsuite used to check the correctness of rustcC-feature-requestCategory: A feature request, i.e: not implemented / a PR.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

    Issue actions