Move the wasmtime crate directories form lib/* to wasmtime-*.

This follows a similar change to Cranelift made here:

https://github.com/CraneStation/cranelift/pull/660
This commit is contained in:
Dan Gohman
2019-03-20 10:33:21 -07:00
parent 7b9761f4a2
commit db0abe8431
74 changed files with 21 additions and 21 deletions

2
.gitmodules vendored
View File

@@ -1,3 +1,3 @@
[submodule "lib/wast/spec_testsuite"]
[submodule "spec_testsuite"]
path = spec_testsuite
url = https://github.com/WebAssembly/testsuite

View File

@@ -25,12 +25,12 @@ path = "src/wasm2obj.rs"
[dependencies]
cranelift-codegen = "0.29.0"
cranelift-native = "0.29.0"
wasmtime-debug = { path = "lib/debug" }
wasmtime-environ = { path = "lib/environ" }
wasmtime-runtime = { path = "lib/runtime" }
wasmtime-jit = { path = "lib/jit" }
wasmtime-obj = { path = "lib/obj" }
wasmtime-wast = { path = "lib/wast" }
wasmtime-debug = { path = "wasmtime-debug" }
wasmtime-environ = { path = "wasmtime-environ" }
wasmtime-runtime = { path = "wasmtime-runtime" }
wasmtime-jit = { path = "wasmtime-jit" }
wasmtime-obj = { path = "wasmtime-obj" }
wasmtime-wast = { path = "wasmtime-wast" }
docopt = "1.0.1"
serde = "1.0.75"
serde_derive = "1.0.75"

View File

@@ -9,8 +9,8 @@ publish = false
cargo-fuzz = true
[dependencies]
wasmtime-environ = { path = "../lib/environ" }
wasmtime-jit = { path = "../lib/jit" }
wasmtime-environ = { path = "../wasmtime-environ" }
wasmtime-jit = { path = "../wasmtime-jit" }
cranelift-codegen = "0.29.0"
cranelift-wasm = "0.29.0"
cranelift-native = "0.29.0"

View File

@@ -15,7 +15,7 @@ version="0.1.0"
#
# The main Cargo.toml in the top-level directory is the wasmtime-tools crate which we don't publish.
echo "Updating crate versions to $version"
for crate in . lib/*; do
for crate in . wasmtime-*; do
# Update the version number of this crate to $version.
sed -i.bk -e "s/^version = .*/version = \"$version\"/" \
"$crate/Cargo.toml"
@@ -36,7 +36,7 @@ cargo update
echo git commit -a -m "\"Bump version to $version"\"
echo git push
for crate in \
environ
wasmtime-environ
do
echo cargo publish --manifest-path "lib/$crate/Cargo.toml"
echo cargo publish --manifest-path "$crate/Cargo.toml"
done

View File

@@ -18,7 +18,7 @@ cranelift-codegen = "0.29.0"
cranelift-entity = "0.29.0"
cranelift-wasm = "0.29.0"
faerie = "0.7.0"
wasmtime-environ = { path = "../environ", default-features = false }
wasmtime-environ = { path = "../wasmtime-environ", default-features = false }
target-lexicon = { version = "0.2.0", default-features = false }
failure = { version = "0.1.3", default-features = false }
failure_derive = { version = "0.1.3", default-features = false }

View File

@@ -16,9 +16,9 @@ cranelift-codegen = "0.29.0"
cranelift-entity = "0.29.0"
cranelift-wasm = "0.29.0"
cranelift-frontend = "0.29.0"
wasmtime-environ = { path = "../environ", default-features = false }
wasmtime-runtime = { path = "../runtime", default-features = false }
wasmtime-debug = { path = "../debug", default-features = false }
wasmtime-environ = { path = "../wasmtime-environ", default-features = false }
wasmtime-runtime = { path = "../wasmtime-runtime", default-features = false }
wasmtime-debug = { path = "../wasmtime-debug", default-features = false }
region = "2.0.0"
failure = { version = "0.1.3", default-features = false }
failure_derive = { version = "0.1.3", default-features = false }

View File

@@ -15,5 +15,5 @@ edition = "2018"
cranelift-codegen = "0.29.0"
cranelift-entity = "0.29.0"
cranelift-wasm = "0.29.0"
wasmtime-environ = { path = "../environ" }
wasmtime-environ = { path = "../wasmtime-environ" }
faerie = "0.7.1"

View File

@@ -15,7 +15,7 @@ edition = "2018"
cranelift-codegen = "0.29.0"
cranelift-entity = "0.29.0"
cranelift-wasm = "0.29.0"
wasmtime-environ = { path = "../environ", default-features = false }
wasmtime-environ = { path = "../wasmtime-environ", default-features = false }
region = "2.0.0"
lazy_static = "1.2.0"
libc = { version = "0.2.44", default-features = false }

View File

@@ -16,9 +16,9 @@ cranelift-codegen = "0.29.0"
cranelift-native = "0.29.0"
cranelift-wasm = "0.29.0"
cranelift-entity = "0.29.0"
wasmtime-jit = { path = "../jit" }
wasmtime-runtime = { path = "../runtime" }
wasmtime-environ = { path = "../environ" }
wasmtime-jit = { path = "../wasmtime-jit" }
wasmtime-runtime = { path = "../wasmtime-runtime" }
wasmtime-environ = { path = "../wasmtime-environ" }
wabt = "0.7"
target-lexicon = "0.2.0"
failure = { version = "0.1.3", default-features = false }