mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
21 lines
396 B
Rust
21 lines
396 B
Rust
//@ compile-flags: --target mips-unknown-linux-gnu
|
|
//@ needs-llvm-components: mips
|
|
|
|
#![feature(no_core, lang_items, rustc_attrs)]
|
|
#![crate_type = "rlib"]
|
|
#![no_core]
|
|
|
|
#[rustc_builtin_macro]
|
|
macro_rules! asm {
|
|
() => {};
|
|
}
|
|
|
|
#[lang = "sized"]
|
|
trait Sized {}
|
|
#[lang = "copy"]
|
|
trait Copy {}
|
|
|
|
unsafe fn main() {
|
|
asm!("");
|
|
//~^ ERROR inline assembly is not stable yet on this architecture
|
|
}
|