mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 04:57:35 +00:00
14 lines
445 B
Rust
14 lines
445 B
Rust
//! Ensure that if disabling a target feature implies disabling an ABI-required target feature,
|
|
//! we complain.
|
|
//@ compile-flags: --target=x86_64-unknown-linux-gnu --crate-type=lib
|
|
//@ needs-llvm-components: x86
|
|
//@ compile-flags: -Ctarget-feature=-sse
|
|
// For now this is just a warning.
|
|
//@ build-pass
|
|
//@error-pattern: must be enabled to ensure that the ABI
|
|
#![feature(no_core, lang_items)]
|
|
#![no_core]
|
|
|
|
#[lang = "sized"]
|
|
pub trait Sized {}
|