]> git.lizzy.rs Git - rust.git/blob - src/test/assembly/nvptx-arch-target-cpu.rs
Auto merge of #61817 - eddyb:begone-gcx-attempt-2, r=oli-obk
[rust.git] / src / test / assembly / nvptx-arch-target-cpu.rs
1 // assembly-output: ptx-linker
2 // compile-flags: --crate-type cdylib -C target-cpu=sm_50
3 // only-nvptx64
4
5 #![no_std]
6
7 // aux-build: breakpoint-panic-handler.rs
8 extern crate breakpoint_panic_handler;
9
10 // Verify target arch override via `target-cpu`.
11 // CHECK: .target sm_50
12 // CHECK: .address_size 64