ffad9aac27
For now, this is just a warning, but should become a hard error in the future
13 lines
297 B
Rust
13 lines
297 B
Rust
//@ compile-flags: --target=x86_64-unknown-linux-gnu --crate-type=lib
|
|
//@ needs-llvm-components: x86
|
|
#![feature(no_core, lang_items)]
|
|
#![no_std]
|
|
#![no_core]
|
|
|
|
#[lang = "sized"]
|
|
pub trait Sized {}
|
|
|
|
#[target_feature(enable = "soft-float")]
|
|
//~^ERROR: cannot be toggled with
|
|
pub unsafe fn my_fun() {}
|