Always use extern crate std in cranelift-codegen

This commit is contained in:
bjorn3
2019-09-28 15:52:23 +02:00
committed by Dan Gohman
parent a114423d0a
commit 10e226f9ff
63 changed files with 89 additions and 90 deletions

View File

@@ -109,7 +109,7 @@ use core::fmt;
use core::mem;
use core::u16;
use log::debug;
use std::vec::Vec;
use alloc::vec::Vec;
/// A variable in the constraint problem.
///
@@ -1160,7 +1160,7 @@ mod tests {
use crate::isa::{RegClass, RegInfo, RegUnit, TargetIsa};
use crate::regalloc::RegisterSet;
use core::str::FromStr;
use std::boxed::Box;
use alloc::boxed::Box;
use target_lexicon::triple;
// Make an arm32 `TargetIsa`, if possible.