mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
13 lines
300 B
Rust
13 lines
300 B
Rust
|
// assembly-output: ptx-linker
|
||
|
// compile-flags: --crate-type cdylib -C target-cpu=sm_50
|
||
|
// 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
|