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

@@ -7,7 +7,7 @@ use crate::scoped_hash_map::ScopedHashMap;
use crate::timing;
use core::cell::{Ref, RefCell};
use core::hash::{Hash, Hasher};
use std::vec::Vec;
use alloc::vec::Vec;
/// Test whether the given opcode is unsafe to even consider for GVN.
fn trivially_unsafe_for_gvn(opcode: Opcode) -> bool {