mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
Allow dead_code lint on some tests where the lint only fires on non-x86 targets...
This commit is contained in:
parent
23e7e78209
commit
3b585f1955
@ -12,6 +12,7 @@
|
||||
//[mir]compile-flags: -Z borrowck=mir
|
||||
|
||||
#![feature(asm)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
use std::cell::Cell;
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
#![feature(global_asm)]
|
||||
#![feature(naked_functions)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
|
||||
global_asm!(r#"
|
||||
|
Loading…
Reference in New Issue
Block a user