summary refs log tree commit diff
path: root/tests/assembly/nvptx-arch-target-cpu.rs
blob: 609ab297e636e3d86c816deccfbe131c1b37102b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ assembly-output: ptx-linker
//@ compile-flags: --crate-type cdylib -C target-cpu=sm_50 -Z unstable-options -Clinker-flavor=llbc
//@ only-nvptx64

#![no_std]

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

// Verify target arch override via `target-cpu`.
// CHECK: .target sm_50
// CHECK: .address_size 64