Remove std feature from cranelift-bforest

This commit is contained in:
bjorn3
2019-09-28 15:39:58 +02:00
committed by Dan Gohman
parent dadfbcd32b
commit d25e611946
7 changed files with 10 additions and 22 deletions

View File

@@ -15,7 +15,6 @@
#![deny(missing_docs, trivial_numeric_casts, unused_extern_crates)]
#![warn(unused_import_braces)]
#![cfg_attr(feature = "std", warn(unstable_features))]
#![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
#![cfg_attr(feature = "cargo-clippy", allow(clippy::new_without_default))]
#![cfg_attr(
@@ -34,13 +33,8 @@
#![no_std]
#[cfg(test)]
#[cfg(not(feature = "std"))]
#[macro_use]
extern crate alloc as std;
#[cfg(test)]
#[cfg(feature = "std")]
#[macro_use]
extern crate std;
extern crate alloc;
#[macro_use]
extern crate cranelift_entity as entity;