Remove std feature from cranelift-entity

This commit is contained in:
bjorn3
2019-09-28 15:46:03 +02:00
committed by Dan Gohman
parent d25e611946
commit a114423d0a
13 changed files with 20 additions and 32 deletions

View File

@@ -6,7 +6,7 @@ use crate::EntityRef;
use core::marker::PhantomData;
use core::ops::{Index, IndexMut};
use core::slice;
use std::boxed::Box;
use alloc::boxed::Box;
/// A slice mapping `K -> V` allocating dense entity references.
///
@@ -141,7 +141,7 @@ where
mod tests {
use super::*;
use crate::primary::PrimaryMap;
use std::vec::Vec;
use alloc::vec::Vec;
// `EntityRef` impl for testing.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]