Skip to content

Commit

Permalink
refactor: Align virtual-fs and virtual-net directories with crate names
Browse files Browse the repository at this point in the history
Partial solution for #3785

NOTE: this PR does not yet rename wasi to wasix, because some other
larger feature work is pending that should be merged first to avoid
conflicts.
  • Loading branch information
theduke committed May 16, 2023
1 parent 04a6b6b commit 6863965
Show file tree
Hide file tree
Showing 39 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ members = [
"lib/derive",
"lib/emscripten",
"lib/object",
"lib/vfs",
"lib/vnet",
"lib/virtual-fs",
"lib/virtual-net",
"lib/sys-utils",
"lib/vm",
"lib/wai-bindgen-wasmer",
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ test-stage-2-test-compiler-cranelift-nostd:
test-stage-3-test-compiler-singlepass-nostd:
$(CARGO_BINARY) test $(CARGO_TARGET_FLAG) --manifest-path lib/compiler-singlepass/Cargo.toml --release --no-default-features --features=std
test-stage-4-wasmer-cli:
$(CARGO_BINARY) test $(CARGO_TARGET_FLAG) --manifest-path lib/vfs/Cargo.toml --release
$(CARGO_BINARY) test $(CARGO_TARGET_FLAG) --manifest-path lib/virtual-fs/Cargo.toml --release
$(CARGO_BINARY) test $(CARGO_TARGET_FLAG) --manifest-path lib/cli/Cargo.toml $(compiler_features) --release

# test examples
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 @@ -32,7 +32,7 @@ wasmer-middlewares = { version = "=3.3.0", path = "../middlewares", optional = t
wasmer-types = { version = "=3.3.0", path = "../types" }
wasmer-wasix = { version = "0.4.0", path = "../wasi", features = ["host-fs", "host-vnet"], optional = true }
webc = { version = "5.0", optional = true }
virtual-fs = { version = "0.2.0", path = "../vfs", optional = true, default-features = false, features = ["static-fs"] }
virtual-fs = { version = "0.2.0", path = "../virtual-fs", optional = true, default-features = false, features = ["static-fs"] }
enumset = "1.0.2"
cfg-if = "1.0"
lazy_static = "1.4"
Expand Down
4 changes: 2 additions & 2 deletions lib/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ wasmer-cache = { version = "=3.3.0", path = "../cache", features = ["blake3-pure
wasmer-types = { version = "=3.3.0", path = "../types", features = ["enable-serde"] }
wasmer-registry = { version = "4.5.0", path = "../registry", features = ["build-package"] }
wasmer-object = { version = "=3.3.0", path = "../object", optional = true }
virtual-fs = { version = "0.2.0", path = "../vfs", default-features = false, features = ["host-fs"] }
virtual-net = { version = "0.1.0", path = "../vnet" }
virtual-fs = { version = "0.2.0", path = "../virtual-fs", default-features = false, features = ["host-fs"] }
virtual-net = { version = "0.1.0", path = "../virtual-net" }

# Wasmer-owned dependencies.
webc = { version = "5.0" }
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions lib/wasi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ getrandom = "0.2"
wasmer-wasix-types = { path = "../wasi-types", version = "0.4.0", features = [ "enable-serde" ] }
wasmer-types = { path = "../types", version = "=3.3.0", default-features = false }
wasmer = { path = "../api", version = "=3.3.0", default-features = false, features = ["wat", "js-serializable-module"] }
virtual-fs = { path = "../vfs", version = "0.2.0", default-features = false, features = ["webc-fs"] }
virtual-net = { path = "../vnet", version = "0.1.0", default-features = false }
virtual-fs = { path = "../virtual-fs", version = "0.2.0", default-features = false, features = ["webc-fs"] }
virtual-net = { path = "../virtual-net", version = "0.1.0", default-features = false }
wasmer-emscripten = { path = "../emscripten", version = "=3.3.0", optional = true }
typetag = { version = "0.1", optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/wast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ edition = "2018"
anyhow = "1.0"
wasmer = { path = "../../../lib/api", version = "=3.3.0", default-features = false }
wasmer-wasix = { path = "../../../lib/wasi", version = "0.4.0" }
virtual-fs = { path = "../../../lib/vfs", version = "0.2.0" }
virtual-fs = { path = "../../../lib/virtual-fs", version = "0.2.0" }
wast = "38.0"
serde = "1"
tempfile = "3.4.0"
Expand Down

0 comments on commit 6863965

Please sign in to comment.