Allow dead_code lint on some tests where the lint only fires on non-x86 targets...

This commit is contained in:
Felix S. Klock II 2018-09-19 16:28:06 +02:00
parent 23e7e78209
commit 3b585f1955
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@
//[mir]compile-flags: -Z borrowck=mir
#![feature(asm)]
#![allow(dead_code)]
use std::cell::Cell;

View File

@ -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#"