rust/tests/assembly/nvptx-arch-link-arg.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
326 B
Rust
Raw Permalink Normal View History

2019-02-27 16:31:30 -06:00
//@ assembly-output: ptx-linker
//@ compile-flags: --crate-type cdylib -C link-arg=--arch=sm_60
//@ only-nvptx64
2019-06-12 16:09:08 -05:00
//@ ignore-nvptx64
2019-02-27 16:31:30 -06:00
#![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