From e8fa9e5ed0b6954431476a6f821c4a4b5e1861ff Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Fri, 23 Oct 2020 09:27:13 -0700 Subject: [PATCH] Update cfg-if --- Cargo.lock | 22 +++++++++++----------- cranelift/Cargo.toml | 2 +- crates/environ/Cargo.toml | 2 +- crates/jit/Cargo.toml | 2 +- crates/profiling/Cargo.toml | 2 +- crates/runtime/Cargo.toml | 2 +- crates/test-programs/Cargo.toml | 2 +- crates/wasi-common/Cargo.toml | 2 +- crates/wasi-common/yanix/Cargo.toml | 2 +- crates/wasmtime/Cargo.toml | 2 +- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a50bb6a0610e..96c62ef95889 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -163,7 +163,7 @@ checksum = "75b13ce559e6433d360c26305643803cb52cfbabbc2b9c47ce04a58493dfb443" dependencies = [ "bitflags", "cexpr", - "cfg-if", + "cfg-if 0.1.10", "clang-sys", "clap", "env_logger", @@ -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", @@ -1159,7 +1159,7 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2443d8f0478b16759158b2f66d525991a05491138bc05814ef52a250148ef4f9" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "winapi", ] @@ -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", @@ -2484,7 +2484,7 @@ dependencies = [ "anyhow", "backtrace", "bincode", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "lazy_static", "libc", "log", @@ -2617,7 +2617,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", @@ -2667,7 +2667,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", @@ -2720,7 +2720,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", @@ -2739,7 +2739,7 @@ version = "0.20.0" dependencies = [ "backtrace", "cc", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "indexmap", "lazy_static", "libc", @@ -2983,7 +2983,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"