Fix some warnings on nightly Rust (#5668)

* Fix some warnings on nightly Rust

Cargo is warning about the usage of workspace dependencies where the
workspace declaration does not mention `default-features` but the
dependency mentions `default-features`, so this explicitly turns off
default features for `cranelift-codegen` at the workspace level and
removes the explicit `default-features = false` at the manifest levels.

* Explicitly enable default feature in wasmtime

* Enable another feature
This commit is contained in:
Alex Crichton
2023-01-31 14:54:58 -06:00
committed by GitHub
parent 7aa240e0f2
commit 7f2c8e6344
6 changed files with 8 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ edition.workspace = true
[dependencies]
cranelift-module = { workspace = true }
cranelift-codegen = { workspace = true, default-features = false, features = ["std"] }
cranelift-codegen = { workspace = true, features = ["std"] }
object = { workspace = true, features = ["write"] }
target-lexicon = { workspace = true }
anyhow = { workspace = true }