Skip to content

Commit

Permalink
add libc dep to workspace dep and dowgrade to latest non-yanked version
Browse files Browse the repository at this point in the history
  • Loading branch information
maminrayej committed May 17, 2024
1 parent 6b9afb9 commit 3294041
Show file tree
Hide file tree
Showing 13 changed files with 113 additions and 106 deletions.
196 changes: 101 additions & 95 deletions Cargo.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ memmap2 = { version = "0.6.2" }
toml = {version = "0.5.9", features = ["preserve_order"]}
indexmap = "2"
serde_yaml = "0.9.34"
libc = { version = "^0.2", default-features = false }

[build-dependencies]
test-generator = { path = "tests/lib/test-generator" }
Expand Down
2 changes: 1 addition & 1 deletion lib/c-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.workspace = true
thiserror = "1"
typetag = { version = "0.1", optional = true }
paste = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion lib/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.workspace = true
parking_lot = "0.12"
dialoguer = "0.11.0"
tldextract = "0.6.0"
Expand Down
2 changes: 1 addition & 1 deletion lib/compiler-llvm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.workspace = true
byteorder = "1"
itertools = "0.10"
rayon = "1.5"
Expand Down
2 changes: 1 addition & 1 deletion lib/emscripten/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ version.workspace = true
[dependencies]
byteorder = "1.3"
lazy_static = "1.4"
libc = "^0.2"
libc = { workspace = true, default-features = true }
log = "0.4"
time = { version = "0.3", features = ["std", "formatting"] }
wasmer = { path = "../api", version = "=4.3.0", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion lib/sys-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ region = { version = "3.0" }
tracing = "0.1.37"

[target.'cfg(unix)'.dependencies]
libc = { version = "^0.2", default-features = false }
libc.workspace = true

[dev-dependencies]
wasmer-wasix.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion lib/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion lib/virtual-fs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = { workspace = true, optional = true }
pin-project-lite = "0.2.9"
replace_with = "0.1.7"
shared-buffer = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion lib/virtual-net/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ bytes = "1.1"
async-trait = { version = "^0.1" }
tracing = "0.1"
tokio = { version = "1", default_features = false, features = ["io-util"] }
libc = { version = "0.2.139", optional = true }
libc = { workspace = true, optional = true }
mio = { version = "0.8", optional = true }
socket2 = { version = "0.4", optional = true }
derivative = { version = "^2" }
Expand Down
2 changes: 1 addition & 1 deletion lib/vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.workspace = true
indexmap = { version = "1.6" }
thiserror = "1.0"
more-asserts = "0.2"
Expand Down
2 changes: 1 addition & 1 deletion lib/wasix/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.workspace = true

[target.'cfg(all(unix, not(target_os="ios")))'.dependencies]
termios = { version = "0.3" }
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ predicates = "2.1.5"
once_cell = "1.17.1"
futures = "0.3.28"
regex = "1.8.3"
libc = "0.2.147"
libc.workspace = true

[dependencies]
anyhow = "1"
Expand Down

0 comments on commit 3294041

Please sign in to comment.