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
src/test/run-pass
@ -12,6 +12,7 @@
|
|||||||
//[mir]compile-flags: -Z borrowck=mir
|
//[mir]compile-flags: -Z borrowck=mir
|
||||||
|
|
||||||
#![feature(asm)]
|
#![feature(asm)]
|
||||||
|
#![allow(dead_code)]
|
||||||
|
|
||||||
use std::cell::Cell;
|
use std::cell::Cell;
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
#![feature(global_asm)]
|
#![feature(global_asm)]
|
||||||
#![feature(naked_functions)]
|
#![feature(naked_functions)]
|
||||||
|
#![allow(dead_code)]
|
||||||
|
|
||||||
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
|
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
|
||||||
global_asm!(r#"
|
global_asm!(r#"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user