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:
@@ -11,7 +11,7 @@ readme = "README.md"
|
|||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cranelift-codegen = { workspace = true, default-features = false }
|
cranelift-codegen = { workspace = true }
|
||||||
target-lexicon = { workspace = true }
|
target-lexicon = { workspace = true }
|
||||||
log = { workspace = true }
|
log = { workspace = true }
|
||||||
hashbrown = { workspace = true, optional = true }
|
hashbrown = { workspace = true, optional = true }
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ edition.workspace = true
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
cranelift-module = { workspace = true }
|
cranelift-module = { workspace = true }
|
||||||
cranelift-native = { workspace = true }
|
cranelift-native = { workspace = true }
|
||||||
cranelift-codegen = { workspace = true, default-features = false, features = ["std"] }
|
cranelift-codegen = { workspace = true, features = ["std"] }
|
||||||
cranelift-entity = { workspace = true }
|
cranelift-entity = { workspace = true }
|
||||||
anyhow = { workspace = true }
|
anyhow = { workspace = true }
|
||||||
region = "2.2.0"
|
region = "2.2.0"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ readme = "README.md"
|
|||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cranelift-codegen = { workspace = true, default-features = false }
|
cranelift-codegen = { workspace = true }
|
||||||
hashbrown = { workspace = true, optional = true }
|
hashbrown = { workspace = true, optional = true }
|
||||||
anyhow = { workspace = true }
|
anyhow = { workspace = true }
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ readme = "README.md"
|
|||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cranelift-codegen = { workspace = true, default-features = false }
|
cranelift-codegen = { workspace = true }
|
||||||
target-lexicon = { workspace = true }
|
target-lexicon = { workspace = true }
|
||||||
|
|
||||||
[target.'cfg(any(target_arch = "s390x", target_arch = "riscv64"))'.dependencies]
|
[target.'cfg(any(target_arch = "s390x", target_arch = "riscv64"))'.dependencies]
|
||||||
@@ -24,4 +24,4 @@ core = ["cranelift-codegen/core"]
|
|||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
maintenance = { status = "experimental" }
|
maintenance = { status = "experimental" }
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ edition.workspace = true
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cranelift-module = { workspace = true }
|
cranelift-module = { workspace = true }
|
||||||
cranelift-codegen = { workspace = true, default-features = false, features = ["std"] }
|
cranelift-codegen = { workspace = true, features = ["std"] }
|
||||||
object = { workspace = true, features = ["write"] }
|
object = { workspace = true, features = ["write"] }
|
||||||
target-lexicon = { workspace = true }
|
target-lexicon = { workspace = true }
|
||||||
anyhow = { workspace = true }
|
anyhow = { workspace = true }
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ edition.workspace = true
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmparser = { workspace = true }
|
wasmparser = { workspace = true }
|
||||||
cranelift-codegen = { workspace = true, default-features = false }
|
cranelift-codegen = { workspace = true }
|
||||||
cranelift-entity = { workspace = true }
|
cranelift-entity = { workspace = true }
|
||||||
cranelift-frontend = { workspace = true, default-features = false }
|
cranelift-frontend = { workspace = true }
|
||||||
wasmtime-types = { workspace = true }
|
wasmtime-types = { workspace = true }
|
||||||
hashbrown = { workspace = true, optional = true }
|
hashbrown = { workspace = true, optional = true }
|
||||||
itertools = "0.10.0"
|
itertools = "0.10.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user