Browse Source

latest system-interface

pull/2629/head
Pat Hickey 4 years ago
parent
commit
220509f3ed
  1. 52
      Cargo.lock
  2. 2
      Cargo.toml
  3. 2
      crates/wasi-c2/Cargo.toml
  4. 4
      crates/wasi-c2/cap-std-sync/Cargo.toml

52
Cargo.lock

@ -207,7 +207,7 @@ checksum = "ce7f38ec6d0dd8a67d9553f95a61ee41fce23c9947bceac7bfe5b3711f9ab2fe"
dependencies = [ dependencies = [
"cap-primitives", "cap-primitives",
"cap-std", "cap-std",
"unsafe-io", "unsafe-io 0.2.0",
] ]
[[package]] [[package]]
@ -223,7 +223,7 @@ dependencies = [
"maybe-owned", "maybe-owned",
"once_cell", "once_cell",
"posish", "posish",
"unsafe-io", "unsafe-io 0.2.0",
"winapi", "winapi",
"winapi-util", "winapi-util",
"winx 0.22.0 (registry+https://github.com/rust-lang/crates.io-index)", "winx 0.22.0 (registry+https://github.com/rust-lang/crates.io-index)",
@ -245,7 +245,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e03b5ca2d4181980f2546074ad15a069f0f5860519e0d83e492c78b411d7c39f" checksum = "e03b5ca2d4181980f2546074ad15a069f0f5860519e0d83e492c78b411d7c39f"
dependencies = [ dependencies = [
"cap-primitives", "cap-primitives",
"unsafe-io", "unsafe-io 0.2.0",
] ]
[[package]] [[package]]
@ -957,7 +957,7 @@ checksum = "0c122a393ea57648015bf06fbd3d372378992e86b9ff5a7a497b076a28c79efe"
dependencies = [ dependencies = [
"cfg-if 1.0.0", "cfg-if 1.0.0",
"libc", "libc",
"redox_syscall", "redox_syscall 0.1.57",
"winapi", "winapi",
] ]
@ -1586,9 +1586,9 @@ checksum = "6b063f57ec186e6140e2b8b6921e5f1bd89c7356dda5b33acc5401203ca6131c"
[[package]] [[package]]
name = "posish" name = "posish"
version = "0.5.7" version = "0.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "077963e9645b0b35e26719e32ad4f77419be1e90a4ef6039008dd5497c02312f" checksum = "64115dbef26d6ef8ac99bdf4cc789c261646dce3eea3a0eb032ef69dc7c777aa"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"cfg-if 1.0.0", "cfg-if 1.0.0",
@ -1844,6 +1844,15 @@ version = "0.1.57"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
[[package]]
name = "redox_syscall"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05ec8ca9416c5ea37062b502703cd7fcb207736bc294f6e0cf367ac6fc234570"
dependencies = [
"bitflags",
]
[[package]] [[package]]
name = "redox_users" name = "redox_users"
version = "0.3.5" version = "0.3.5"
@ -1851,7 +1860,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d" checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d"
dependencies = [ dependencies = [
"getrandom 0.1.15", "getrandom 0.1.15",
"redox_syscall", "redox_syscall 0.1.57",
"rust-argon2", "rust-argon2",
] ]
@ -2200,15 +2209,17 @@ dependencies = [
[[package]] [[package]]
name = "system-interface" name = "system-interface"
version = "0.5.2" version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f553b2d73f8d21a632ffdd399f8f50cb1f7bc642c1c9f3764bf05ba7f2999c5" checksum = "a02b6a59a0980c8704e45b8498f07020248dc8a6734a8b3d37649800fb80a87f"
dependencies = [ dependencies = [
"atty", "atty",
"bitflags",
"cap-fs-ext",
"cap-std", "cap-std",
"posish", "posish",
"rustc_version 0.3.3", "rustc_version 0.3.3",
"unsafe-io", "unsafe-io 0.3.0",
"winapi", "winapi",
"winx 0.22.0 (registry+https://github.com/rust-lang/crates.io-index)", "winx 0.22.0 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
@ -2221,14 +2232,14 @@ checksum = "4ee5a98e506fb7231a304c3a1bd7c132a55016cf65001e0282480665870dfcb9"
[[package]] [[package]]
name = "tempfile" name = "tempfile"
version = "3.1.0" version = "3.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22"
dependencies = [ dependencies = [
"cfg-if 0.1.10", "cfg-if 1.0.0",
"libc", "libc",
"rand 0.7.3", "rand 0.8.1",
"redox_syscall", "redox_syscall 0.2.4",
"remove_dir_all", "remove_dir_all",
"winapi", "winapi",
] ]
@ -2477,6 +2488,15 @@ dependencies = [
"rustc_version 0.3.3", "rustc_version 0.3.3",
] ]
[[package]]
name = "unsafe-io"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd35327a2b46b3350186b75a3a337d4517e5ca08118c4e54175d49d7832578d8"
dependencies = [
"rustc_version 0.3.3",
]
[[package]] [[package]]
name = "vec_map" name = "vec_map"
version = "0.8.2" version = "0.8.2"
@ -2552,7 +2572,7 @@ dependencies = [
"libc", "libc",
"system-interface", "system-interface",
"tracing", "tracing",
"unsafe-io", "unsafe-io 0.3.0",
"wasi-c2", "wasi-c2",
"winapi", "winapi",
] ]

2
Cargo.toml

@ -80,6 +80,8 @@ members = [
"fuzz", "fuzz",
] ]
exclude = ["crates/cap-std"]
[features] [features]
default = ["jitdump", "wasmtime/wat", "wasmtime/parallel-compilation"] default = ["jitdump", "wasmtime/wat", "wasmtime/parallel-compilation"]
lightbeam = ["wasmtime/lightbeam"] lightbeam = ["wasmtime/lightbeam"]

2
crates/wasi-c2/Cargo.toml

@ -23,7 +23,7 @@ anyhow = "1.0"
thiserror = "1.0" thiserror = "1.0"
wiggle = { path = "../wiggle", default-features = false, version = "0.22.0" } wiggle = { path = "../wiggle", default-features = false, version = "0.22.0" }
tracing = "0.1.19" tracing = "0.1.19"
system-interface = { version = "0.5.2", features = ["cap_std_impls"] } system-interface = { version = "0.5.4", features = ["cap_std_impls"] }
cap-std = "0.11" cap-std = "0.11"
cap-rand = "0.11" cap-rand = "0.11"
bitflags = "1.2" bitflags = "1.2"

4
crates/wasi-c2/cap-std-sync/Cargo.toml

@ -20,8 +20,8 @@ cap-fs-ext = "0.11"
cap-time-ext = "0.11" cap-time-ext = "0.11"
cap-rand = "0.11" cap-rand = "0.11"
fs-set-times = "0.2.2" fs-set-times = "0.2.2"
unsafe-io = "0.2" unsafe-io = "0.3"
system-interface = { version = "0.5.2", features = ["cap_std_impls"] } system-interface = { version = "0.5.4", features = ["cap_std_impls"] }
tracing = "0.1.19" tracing = "0.1.19"
bitflags = "1.2" bitflags = "1.2"

Loading…
Cancel
Save