From 6ebbab61b92de0d79b263469a163cfb88c7e4ae6 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Fri, 23 Oct 2020 09:27:13 -0700 Subject: [PATCH] Update cfg-if dependency --- Cargo.lock | 18 +++++++++--------- 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, 18 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3a659590e9..31e3f59616 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -555,7 +555,7 @@ version = "0.66.0" dependencies = [ "anyhow", "capstone", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "cranelift", "cranelift-codegen", "cranelift-entity", @@ -2092,7 +2092,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", @@ -2324,7 +2324,7 @@ name = "wasi-common" version = "0.20.0" dependencies = [ "anyhow", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "cpu-time", "filetime", "getrandom", @@ -2378,7 +2378,7 @@ dependencies = [ "anyhow", "backtrace", "bincode", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "lazy_static", "libc", "log", @@ -2510,7 +2510,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", @@ -2560,7 +2560,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", @@ -2613,7 +2613,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", @@ -2632,7 +2632,7 @@ version = "0.20.0" dependencies = [ "backtrace", "cc", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "indexmap", "lazy_static", "libc", @@ -2851,7 +2851,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 3635f5d065..5e0cdd12dd 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 1f52b4c6ad..0b58b7a373 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 fa824c3d43..5fd0a7de1a 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 1ae174b844..7bfa9fa9aa 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 dd543124a5..eb8a308953 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 44f8857815..ef039567f9 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 6a8bc4d965..b07cd91e04 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 cb8c6828ea..e8e134ab33 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 282967a467..d97fdcf924 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"