Always use extern crate std in cranelift-frontend

This commit is contained in:
bjorn3
2019-09-28 15:57:43 +02:00
committed by Dan Gohman
parent 74556d45ae
commit 1a99ac6b4a
4 changed files with 7 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ use crate::frontend::FunctionBuilder;
use cranelift_codegen::ir::condcodes::IntCC;
use cranelift_codegen::ir::*;
use log::debug;
use std::vec::Vec;
use alloc::vec::Vec;
type EntryIndex = u64;
@@ -291,7 +291,7 @@ mod tests {
use super::*;
use crate::frontend::FunctionBuilderContext;
use cranelift_codegen::ir::Function;
use std::string::ToString;
use alloc::string::ToString;
macro_rules! setup {
($default:expr, [$($index:expr,)*]) => {{