]> git.lizzy.rs Git - rust.git/blob - tests/assembly/nvptx-arch-link-arg.rs
Rollup merge of #107692 - Swatinem:printsizeyield, r=compiler-errors
[rust.git] / tests / assembly / nvptx-arch-link-arg.rs
1 // assembly-output: ptx-linker
2 // compile-flags: --crate-type cdylib -C link-arg=--arch=sm_60
3 // only-nvptx64
4 // ignore-nvptx64
5
6 #![no_std]
7
8 // aux-build: breakpoint-panic-handler.rs
9 extern crate breakpoint_panic_handler;
10
11 // Verify target arch override via `link-arg`.
12 // CHECK: .target sm_60
13 // CHECK: .address_size 64