summaryrefslogtreecommitdiffstats
path: root/tests/assembly/nvptx-arch-link-arg.rs
blob: 025a9ad498778565be6811c362d949dac77218f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// assembly-output: ptx-linker
// compile-flags: --crate-type cdylib -C link-arg=--arch=sm_60
// only-nvptx64
// ignore-nvptx64

#![no_std]

// aux-build: breakpoint-panic-handler.rs
extern crate breakpoint_panic_handler;

// Verify target arch override via `link-arg`.
// CHECK: .target sm_60
// CHECK: .address_size 64