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

@@ -9,7 +9,7 @@ use crate::ir::{ArgumentLoc, ExternalName, SigRef, Type};
use crate::isa::{CallConv, RegInfo, RegUnit};
use core::fmt;
use core::str::FromStr;
use std::vec::Vec;
use alloc::vec::Vec;
/// Function signature.
///
@@ -335,7 +335,7 @@ impl fmt::Display for ExtFuncData {
mod tests {
use super::*;
use crate::ir::types::{B8, F32, I32};
use std::string::ToString;
use alloc::string::ToString;
#[test]
fn argument_type() {