c0394c8ac0
This way is possible to write inline assembly code aware of it.
10 lines
179 B
Rust
10 lines
179 B
Rust
// run-pass
|
|
// compile-flags: -C relocation-model=pic
|
|
// ignore-emscripten no pic
|
|
// ignore-wasm
|
|
|
|
#![feature(cfg_relocation_model)]
|
|
|
|
#[cfg(relocation_model = "pic")]
|
|
fn main() {}
|