<!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. --> I tried this code: https://rust.godbolt.org/z/bKdTe4rGb ```rust #[cfg(target_feature = "pacg")] compile_error!{ "pacg enabled" } ``` I expected to see this happen: with `-Ctarget-feature=+paca` I expect either an error requiring `pacg` to be enabled with `paca`, or some other diagnostic Instead, this happened: `pacg` is silently enabled and the compile error is triggered. See also https://github.com/rust-lang/stdarch/issues/1352#issuecomment-1322067194 ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> `rustc --version --verbose`: ``` rustc 1.65.0 (897e37553 2022-11-02) binary: rustc commit-hash: 897e37553bba8b42751c67658967889d11ecd120 commit-date: 2022-11-02 host: x86_64-apple-darwin release: 1.65.0 LLVM version: 15.0.0 ```