Remove std feature from cranelift-codegen-meta
This commit is contained in:
@@ -29,7 +29,7 @@ smallvec = { version = "0.6.10" }
|
|||||||
# accomodated in `tests`.
|
# accomodated in `tests`.
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cranelift-codegen-meta = { path = "meta", version = "0.44.0", default-features = false }
|
cranelift-codegen-meta = { path = "meta", version = "0.44.0" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
@@ -37,14 +37,11 @@ default = ["std"]
|
|||||||
# The "std" feature enables use of libstd. The "core" feature enables use
|
# 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
|
# of some minimal std-like replacement libraries. At least one of these two
|
||||||
# features need to be enabled.
|
# features need to be enabled.
|
||||||
std = ["cranelift-codegen-meta/std"]
|
std = []
|
||||||
|
|
||||||
# The "core" features enables use of "hashbrown" since core doesn't have
|
# The "core" features enables use of "hashbrown" since core doesn't have
|
||||||
# a HashMap implementation, and a workaround for Cargo #4866.
|
# a HashMap implementation, and a workaround for Cargo #4866.
|
||||||
core = [
|
core = ["hashbrown"]
|
||||||
"hashbrown",
|
|
||||||
"cranelift-codegen-meta/core"
|
|
||||||
]
|
|
||||||
|
|
||||||
# This enables some additional functions useful for writing tests, but which
|
# This enables some additional functions useful for writing tests, but which
|
||||||
# can significantly increase the size of the library.
|
# can significantly increase the size of the library.
|
||||||
|
|||||||
@@ -15,9 +15,3 @@ cranelift-entity = { path = "../../cranelift-entity", version = "0.44.0" }
|
|||||||
[badges]
|
[badges]
|
||||||
maintenance = { status = "experimental" }
|
maintenance = { status = "experimental" }
|
||||||
travis-ci = { repository = "CraneStation/cranelift" }
|
travis-ci = { repository = "CraneStation/cranelift" }
|
||||||
|
|
||||||
[features]
|
|
||||||
default = ["std"]
|
|
||||||
std = []
|
|
||||||
# The "core" feature enables a workaround for Cargo #4866.
|
|
||||||
core = []
|
|
||||||
|
|||||||
Reference in New Issue
Block a user