From bc2beef558518448735a83e8c0848fee401d6fc8 Mon Sep 17 00:00:00 2001 From: "M.Amin Rayej" Date: Fri, 17 May 2024 03:27:13 +0330 Subject: [PATCH] fix yanked libc dep --- Cargo.lock | 8 ++++---- lib/c-api/Cargo.toml | 2 +- lib/cli/Cargo.toml | 2 +- lib/compiler-llvm/Cargo.toml | 2 +- lib/emscripten/Cargo.toml | 2 +- lib/sys-utils/Cargo.toml | 2 +- lib/types/Cargo.toml | 2 +- lib/virtual-fs/Cargo.toml | 2 +- lib/vm/Cargo.toml | 2 +- lib/wasix/Cargo.toml | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7c505068ff1..2f07a76875a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1903,9 +1903,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" dependencies = [ "cfg-if 1.0.0", "js-sys", @@ -2672,9 +2672,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.154" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libfuzzer-sys" diff --git a/lib/c-api/Cargo.toml b/lib/c-api/Cargo.toml index 1cc1a2a3489..9d997870257 100644 --- a/lib/c-api/Cargo.toml +++ b/lib/c-api/Cargo.toml @@ -38,7 +38,7 @@ virtual-fs = { version = "0.11.4", path = "../virtual-fs", optional = true, defa enumset.workspace = true cfg-if = "1.0" lazy_static = "1.4" -libc = { version = "^0.2", default-features = false } +libc = { version = "=0.2.153", default-features = false } thiserror = "1" typetag = { version = "0.1", optional = true } paste = "1.0" diff --git a/lib/cli/Cargo.toml b/lib/cli/Cargo.toml index b918d8018f4..6d32ad1aaf4 100644 --- a/lib/cli/Cargo.toml +++ b/lib/cli/Cargo.toml @@ -178,7 +178,7 @@ walkdir = "2.3.2" regex = "1.6.0" toml.workspace = true url = "2.3.1" -libc = { version = "^0.2", default-features = false } +libc = { version = "=0.2.153", default-features = false } parking_lot = "0.12" dialoguer = "0.11.0" tldextract = "0.6.0" diff --git a/lib/compiler-llvm/Cargo.toml b/lib/compiler-llvm/Cargo.toml index 5db607d48fd..e4fdd74bca3 100644 --- a/lib/compiler-llvm/Cargo.toml +++ b/lib/compiler-llvm/Cargo.toml @@ -22,7 +22,7 @@ wasmer-types = { path = "../types", version = "=4.3.0" } target-lexicon = { version = "0.12.2", default-features = false } smallvec = "1.6" object = { version = "0.28.3", default-features = false, features = ["read"] } -libc = { version = "^0.2", default-features = false } +libc = { version = "=0.2.153", default-features = false } byteorder = "1" itertools = "0.10" rayon = "1.5" diff --git a/lib/emscripten/Cargo.toml b/lib/emscripten/Cargo.toml index 6a6b8be5a81..4bdd0e1fe2b 100644 --- a/lib/emscripten/Cargo.toml +++ b/lib/emscripten/Cargo.toml @@ -15,7 +15,7 @@ version.workspace = true [dependencies] byteorder = "1.3" lazy_static = "1.4" -libc = "^0.2" +libc = "=0.2.153" log = "0.4" time = { version = "0.3", features = ["std", "formatting"] } wasmer = { path = "../api", version = "=4.3.0", default-features = false } diff --git a/lib/sys-utils/Cargo.toml b/lib/sys-utils/Cargo.toml index 1ec1ed40c8a..6ea33035adf 100644 --- a/lib/sys-utils/Cargo.toml +++ b/lib/sys-utils/Cargo.toml @@ -19,7 +19,7 @@ region = { version = "3.0" } tracing = "0.1.37" [target.'cfg(unix)'.dependencies] -libc = { version = "^0.2", default-features = false } +libc = { version = "=0.2.153", default-features = false } [dev-dependencies] wasmer-wasix.workspace = true diff --git a/lib/types/Cargo.toml b/lib/types/Cargo.toml index 2e0880e40ee..8b3cd809c0f 100644 --- a/lib/types/Cargo.toml +++ b/lib/types/Cargo.toml @@ -31,7 +31,7 @@ hex = { version = "^0.4" } # `rand` uses `getrandom` transitively, and to be able to # compile the project for `js`, we need to enable this feature [dependencies.getrandom] -version = "0.2.15" +version = "0.2.14" features = ["js"] [dev-dependencies] diff --git a/lib/virtual-fs/Cargo.toml b/lib/virtual-fs/Cargo.toml index 51dc3e998d8..8b11ca533fd 100644 --- a/lib/virtual-fs/Cargo.toml +++ b/lib/virtual-fs/Cargo.toml @@ -19,7 +19,7 @@ fs_extra = { version = "1.2.0", optional = true } futures = { version = "0.3" } indexmap = "1.9.2" lazy_static = "1.4" -libc = { version = "^0.2", default-features = false, optional = true } +libc = { version = "=0.2.153", default-features = false, optional = true } pin-project-lite = "0.2.9" replace_with = "0.1.7" shared-buffer = { workspace = true } diff --git a/lib/vm/Cargo.toml b/lib/vm/Cargo.toml index 5b80220f327..40f37a74428 100644 --- a/lib/vm/Cargo.toml +++ b/lib/vm/Cargo.toml @@ -15,7 +15,7 @@ version.workspace = true [dependencies] memoffset.workspace = true wasmer-types = { path = "../types", version = "=4.3.0" } -libc = { version = "^0.2", default-features = false } +libc = { version = "=0.2.153", default-features = false } indexmap = { version = "1.6" } thiserror = "1.0" more-asserts = "0.2" diff --git a/lib/wasix/Cargo.toml b/lib/wasix/Cargo.toml index 5c51ed34167..0e12ca4bd16 100644 --- a/lib/wasix/Cargo.toml +++ b/lib/wasix/Cargo.toml @@ -114,7 +114,7 @@ features = ["native-tls", "json", "stream", "socks", "blocking"] optional = true [target.'cfg(unix)'.dependencies] -libc = { version = "^0.2", default-features = false } +libc = { version = "=0.2.153", default-features = false } [target.'cfg(all(unix, not(target_os="ios")))'.dependencies] termios = { version = "0.3" }