From 74556d45ae9558cf5a7097bb8839351dcda0d4fc Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sat, 28 Sep 2019 15:55:07 +0200 Subject: [PATCH] Remove std feature from cranelift-codegen-meta --- cranelift/codegen/Cargo.toml | 9 +++------ cranelift/codegen/meta/Cargo.toml | 6 ------ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/cranelift/codegen/Cargo.toml b/cranelift/codegen/Cargo.toml index 2739160aa2..7281ad3092 100644 --- a/cranelift/codegen/Cargo.toml +++ b/cranelift/codegen/Cargo.toml @@ -29,7 +29,7 @@ smallvec = { version = "0.6.10" } # accomodated in `tests`. [build-dependencies] -cranelift-codegen-meta = { path = "meta", version = "0.44.0", default-features = false } +cranelift-codegen-meta = { path = "meta", version = "0.44.0" } [features] default = ["std"] @@ -37,14 +37,11 @@ default = ["std"] # The "std" feature enables use of libstd. The "core" feature enables use # of some minimal std-like replacement libraries. At least one of these two # features need to be enabled. -std = ["cranelift-codegen-meta/std"] +std = [] # The "core" features enables use of "hashbrown" since core doesn't have # a HashMap implementation, and a workaround for Cargo #4866. -core = [ - "hashbrown", - "cranelift-codegen-meta/core" -] +core = ["hashbrown"] # This enables some additional functions useful for writing tests, but which # can significantly increase the size of the library. diff --git a/cranelift/codegen/meta/Cargo.toml b/cranelift/codegen/meta/Cargo.toml index 74cc0accd3..63624d3f1e 100644 --- a/cranelift/codegen/meta/Cargo.toml +++ b/cranelift/codegen/meta/Cargo.toml @@ -15,9 +15,3 @@ cranelift-entity = { path = "../../cranelift-entity", version = "0.44.0" } [badges] maintenance = { status = "experimental" } travis-ci = { repository = "CraneStation/cranelift" } - -[features] -default = ["std"] -std = [] -# The "core" feature enables a workaround for Cargo #4866. -core = []