rust/tests/ui/target-feature
Stuart Cook 1cd368a744
Rollup merge of #138689 - jedbrown:jed/nvptx-target-feature, r=ZuseZ4
add nvptx_target_feature

Tracking issue: #141468 (nvptx), which is part of #44839 (catch-all arches)
The feature gate is `#![feature(nvptx_target_feature)]`

This exposes the target features `sm_20` through `sm_120a` [as defined](https://github.com/llvm/llvm-project/blob/llvmorg-20.1.1/llvm/lib/Target/NVPTX/NVPTX.td#L59-L85) by LLVM.

Cc: ``````@gonzalobg``````
``````@rustbot`````` label +O-NVPTX +A-target-feature
2025-08-07 20:49:36 +10:00
..
auxiliary
aarch64-neon-works.rs
abi-incompatible-target-feature-attribute-fcw.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
abi-incompatible-target-feature-attribute-fcw.stderr tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
abi-incompatible-target-feature-attribute.riscv.stderr tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
abi-incompatible-target-feature-attribute.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
abi-incompatible-target-feature-attribute.x86.stderr tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
abi-incompatible-target-feature-flag-enable.riscv.stderr unify two -Ctarget-feature parsers 2025-06-19 09:44:24 +09:00
abi-incompatible-target-feature-flag-enable.rs unify two -Ctarget-feature parsers 2025-06-19 09:44:24 +09:00
abi-incompatible-target-feature-flag-enable.x86.stderr
abi-irrelevant-target-feature-flag-disable.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
abi-irrelevant-target-feature-flag-disable.stderr
abi-required-target-feature-attribute.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
abi-required-target-feature-flag-disable.aarch64.stderr
abi-required-target-feature-flag-disable.loongarch.stderr
abi-required-target-feature-flag-disable.riscv.stderr
abi-required-target-feature-flag-disable.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
abi-required-target-feature-flag-disable.x86-implied.stderr
abi-required-target-feature-flag-disable.x86.stderr
asm-implied-features-issue-128125.rs
feature-hierarchy.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
forbidden-hardfloat-target-feature-attribute-e-d.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
forbidden-hardfloat-target-feature-attribute-e-d.stderr tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
forbidden-hardfloat-target-feature-attribute-f-zfinx.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
forbidden-hardfloat-target-feature-attribute-f-zfinx.stderr tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
forbidden-hardfloat-target-feature-cfg.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
forbidden-target-feature-attribute.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
forbidden-target-feature-attribute.stderr tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
forbidden-target-feature-cfg.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
forbidden-target-feature-flag-disable.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
forbidden-target-feature-flag-disable.stderr
forbidden-target-feature-flag.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
forbidden-target-feature-flag.stderr
gate.rs add nvptx_target_feature 2025-06-21 19:32:47 -06:00
gate.stderr add nvptx_target_feature 2025-06-21 19:32:47 -06:00
implicit-features-cli.rs
implicit-features.rs
implied-features-nvptx.rs target-feature: enable rust target features implied by target-cpu 2025-06-21 19:32:47 -06:00
implied-features.rs
invalid-attribute.rs Port #[target_feature] to the new attribute parsing infrastructure 2025-07-03 07:54:19 +02:00
invalid-attribute.stderr Port #[target_feature] to the new attribute parsing infrastructure 2025-07-03 07:54:19 +02:00
missing-plusminus-2.rs
missing-plusminus-2.stderr
missing-plusminus.rs
missing-plusminus.stderr
no-llvm-leaks.rs
retpoline-target-feature-flag.by_feature.stderr -Zretpoline and -Zretpoline-external-thunk flags (target modifiers) to enable retpoline-related target features 2025-06-09 21:29:59 +07:00
retpoline-target-feature-flag.by_feature1.stderr various minor target feature cleanups 2025-06-19 10:50:03 +09:00
retpoline-target-feature-flag.by_feature2.stderr various minor target feature cleanups 2025-06-19 10:50:03 +09:00
retpoline-target-feature-flag.by_feature3.stderr various minor target feature cleanups 2025-06-19 10:50:03 +09:00
retpoline-target-feature-flag.rs various minor target feature cleanups 2025-06-19 10:50:03 +09:00
rust-specific-name-no-warnings.rs
similar-feature-suggestion.rs
similar-feature-suggestion.stderr
target-cpu-lacks-required-target-feature.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
target-cpu-lacks-required-target-feature.stderr
target-feature-detection.rs cleaned up some tests 2025-07-05 01:54:04 +05:00
tied-features-cli.one.stderr
tied-features-cli.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
tied-features-cli.three.stderr
tied-features-cli.two.stderr
tied-features-no-implication-1.paca.stderr
tied-features-no-implication-1.pacg.stderr
tied-features-no-implication-1.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
tied-features-no-implication.paca.stderr
tied-features-no-implication.pacg.stderr tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
tied-features-no-implication.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
tied-features.rs
tied-features.stderr
unstable-feature.rs
unstable-feature.stderr
using-target-feature-unstable.rs
wasm-disable-simd.rs
wasm-relaxed-simd.rs
wasm-safe.rs