#[target_feature="±<feat>"] is not properly checked against whitelist #38900
Labels
A-SIMD
Area: SIMD (Single Instruction Multiple Data)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
#[cfg(target_feature="abcd")]
was landed with a strong requirement to have a whitelist of LLVM features that are exposed this way, mostly due to compatibility concerns with LLVM.#[target_feature="±abcd"]
, however does not check against the whitelist in question and allows everything through. Seems like a potential compat footgun?The text was updated successfully, but these errors were encountered: