Skip to content

Commit 2558253

Browse files
authored
Rollup merge of rust-lang#138689 - jedbrown:jed/nvptx-target-feature, r=ZuseZ4
add nvptx_target_feature Tracking issue: rust-lang#141468 (nvptx), which is part of rust-lang#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
2 parents 860d702 + af53228 commit 2558253

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@
195195
#![feature(hexagon_target_feature)]
196196
#![feature(loongarch_target_feature)]
197197
#![feature(mips_target_feature)]
198+
#![feature(nvptx_target_feature)]
198199
#![feature(powerpc_target_feature)]
199200
#![feature(riscv_target_feature)]
200201
#![feature(rtm_target_feature)]

0 commit comments

Comments
 (0)