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
2 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue