From 4769e674688662237249c5e32852c36f48bcff96 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 13 Aug 2018 12:52:30 -0700 Subject: [PATCH] Fix a few declarations for the `no_std` build. --- lib/codegen/src/lib.rs | 1 - lib/codegen/src/regalloc/coalescing.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/codegen/src/lib.rs b/lib/codegen/src/lib.rs index 2d740668f6..5ba44b8a81 100644 --- a/lib/codegen/src/lib.rs +++ b/lib/codegen/src/lib.rs @@ -49,7 +49,6 @@ extern crate failure_derive; #[cfg_attr(test, macro_use)] extern crate target_lexicon; -#[cfg(feature = "std")] #[macro_use] extern crate log; diff --git a/lib/codegen/src/regalloc/coalescing.rs b/lib/codegen/src/regalloc/coalescing.rs index 885e0b82fe..c7db253767 100644 --- a/lib/codegen/src/regalloc/coalescing.rs +++ b/lib/codegen/src/regalloc/coalescing.rs @@ -6,7 +6,6 @@ //! parameter will belong to the same virtual register as the EBB parameter value itself. use cursor::{Cursor, EncCursor}; -#[cfg(feature = "std")] use dbg::DisplayList; use dominator_tree::{DominatorTree, DominatorTreePreorder}; use flowgraph::{BasicBlock, ControlFlowGraph};