Skip to content

-Ctarget-features get ignored after crt-static #144203

@Gelbpunkt

Description

@Gelbpunkt

Since #140920, any target-features set after crt-static are silently completely ignored by rustc.

I noticed this while trying to run the testsuite with crt-static = false in bootstrap.toml, which then resulted in a bunch of ABI and target-feature tests failing in very odd ways. Related Zulip thread.

This will be fixed by #144143.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.P-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions