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

@@ -25,8 +25,8 @@ use crate::isa::TargetIsa;
use core::fmt;
use core::str;
use failure_derive::Fail;
use std::boxed::Box;
use std::string::{String, ToString};
use alloc::boxed::Box;
use alloc::string::{String, ToString};
/// A string-based configurator for settings groups.
///
@@ -369,7 +369,7 @@ mod tests {
use super::Configurable;
use super::SetError::*;
use super::{builder, Flags};
use std::string::ToString;
use alloc::string::ToString;
#[test]
fn display_default() {