diff --git a/Cargo.lock b/Cargo.lock index 59fe60d9156d..fb8c6a0353f8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -599,7 +599,7 @@ version = "0.66.0" dependencies = [ "anyhow", "capstone", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "cranelift", "cranelift-codegen", "cranelift-entity", @@ -2194,7 +2194,7 @@ name = "test-programs" version = "0.19.0" dependencies = [ "anyhow", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "os_pipe", "pretty_env_logger", "target-lexicon", @@ -2426,7 +2426,7 @@ name = "wasi-common" version = "0.20.0" dependencies = [ "anyhow", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "cpu-time", "filetime", "getrandom", @@ -2480,7 +2480,7 @@ dependencies = [ "anyhow", "backtrace", "bincode", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "lazy_static", "libc", "log", @@ -2613,7 +2613,7 @@ name = "wasmtime-environ" version = "0.20.0" dependencies = [ "anyhow", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "cranelift-codegen", "cranelift-entity", "cranelift-wasm", @@ -2663,7 +2663,7 @@ name = "wasmtime-jit" version = "0.20.0" dependencies = [ "anyhow", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "cranelift-codegen", "cranelift-entity", "cranelift-frontend", @@ -2716,7 +2716,7 @@ name = "wasmtime-profiling" version = "0.20.0" dependencies = [ "anyhow", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "gimli", "ittapi-rs", "lazy_static", @@ -2735,7 +2735,7 @@ version = "0.20.0" dependencies = [ "backtrace", "cc", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "indexmap", "lazy_static", "libc", @@ -2979,7 +2979,7 @@ name = "yanix" version = "0.20.0" dependencies = [ "bitflags", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "filetime", "libc", "tracing", diff --git a/cranelift/Cargo.toml b/cranelift/Cargo.toml index 3635f5d065be..5e0cdd12ddc8 100644 --- a/cranelift/Cargo.toml +++ b/cranelift/Cargo.toml @@ -14,7 +14,7 @@ name = "clif-util" path = "src/clif-util.rs" [dependencies] -cfg-if = "0.1" +cfg-if = "1.0" cranelift-codegen = { path = "codegen", version = "0.67.0" } cranelift-entity = { path = "entity", version = "0.67.0" } cranelift-interpreter = { path = "interpreter", version = "0.67.0" } diff --git a/crates/environ/Cargo.toml b/crates/environ/Cargo.toml index 1f52b4c6ad76..0b58b7a373c0 100644 --- a/crates/environ/Cargo.toml +++ b/crates/environ/Cargo.toml @@ -22,7 +22,7 @@ thiserror = "1.0.4" serde = { version = "1.0.94", features = ["derive"] } log = { version = "0.4.8", default-features = false } more-asserts = "0.2.1" -cfg-if = "0.1.9" +cfg-if = "1.0" gimli = "0.22" [badges] diff --git a/crates/jit/Cargo.toml b/crates/jit/Cargo.toml index fa824c3d43c0..5fd0a7de1afa 100644 --- a/crates/jit/Cargo.toml +++ b/crates/jit/Cargo.toml @@ -31,7 +31,7 @@ target-lexicon = { version = "0.11.0", default-features = false } wasmparser = "0.63.0" more-asserts = "0.2.1" anyhow = "1.0" -cfg-if = "0.1.9" +cfg-if = "1.0" log = "0.4" gimli = { version = "0.22.0", default-features = false, features = ["write"] } object = { version = "0.21.1", default-features = false, features = ["write"] } diff --git a/crates/profiling/Cargo.toml b/crates/profiling/Cargo.toml index 1ae174b8445f..7bfa9fa9aa36 100644 --- a/crates/profiling/Cargo.toml +++ b/crates/profiling/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] anyhow = "1.0" -cfg-if = "0.1" +cfg-if = "1.0" gimli = { version = "0.22.0", optional = true } lazy_static = "1.4" libc = { version = "0.2.60", default-features = false } diff --git a/crates/runtime/Cargo.toml b/crates/runtime/Cargo.toml index dd543124a575..eb8a308953a0 100644 --- a/crates/runtime/Cargo.toml +++ b/crates/runtime/Cargo.toml @@ -20,7 +20,7 @@ memoffset = "0.5.3" indexmap = "1.0.2" thiserror = "1.0.4" more-asserts = "0.2.1" -cfg-if = "0.1.9" +cfg-if = "1.0" backtrace = "0.3.49" lazy_static = "1.3.0" diff --git a/crates/test-programs/Cargo.toml b/crates/test-programs/Cargo.toml index 44f8857815ff..ef039567f9d9 100644 --- a/crates/test-programs/Cargo.toml +++ b/crates/test-programs/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" publish = false [build-dependencies] -cfg-if = "0.1.9" +cfg-if = "1.0" [dev-dependencies] wasi-common = { path = "../wasi-common", version = "0.20.0" } diff --git a/crates/wasi-common/Cargo.toml b/crates/wasi-common/Cargo.toml index 6a8bc4d96562..b07cd91e0409 100644 --- a/crates/wasi-common/Cargo.toml +++ b/crates/wasi-common/Cargo.toml @@ -21,7 +21,7 @@ anyhow = "1.0" thiserror = "1.0" libc = "0.2" getrandom = { version = "0.1.14", features = ["std"] } -cfg-if = "0.1.9" +cfg-if = "1.0" filetime = "0.2.7" lazy_static = "1.4.0" wig = { path = "wig", version = "0.20.0" } diff --git a/crates/wasi-common/yanix/Cargo.toml b/crates/wasi-common/yanix/Cargo.toml index cb8c6828eaac..e8e134ab3383 100644 --- a/crates/wasi-common/yanix/Cargo.toml +++ b/crates/wasi-common/yanix/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" tracing = "0.1.15" libc = { version = "0.2", features = ["extra_traits"] } bitflags = "1.2" -cfg-if = "0.1.9" +cfg-if = "1.0" filetime = "0.2.7" [badges] diff --git a/crates/wasmtime/Cargo.toml b/crates/wasmtime/Cargo.toml index 282967a467d8..d97fdcf924a5 100644 --- a/crates/wasmtime/Cargo.toml +++ b/crates/wasmtime/Cargo.toml @@ -20,7 +20,7 @@ wasmparser = "0.63.0" anyhow = "1.0.19" region = "2.2.0" libc = "0.2" -cfg-if = "0.1.9" +cfg-if = "1.0" backtrace = "0.3.42" rustc-demangle = "0.1.16" lazy_static = "1.4"