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:
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -1,3 +1,3 @@
|
|||||||
[submodule "lib/wast/spec_testsuite"]
|
[submodule "spec_testsuite"]
|
||||||
path = spec_testsuite
|
path = spec_testsuite
|
||||||
url = https://github.com/WebAssembly/testsuite
|
url = https://github.com/WebAssembly/testsuite
|
||||||
|
|||||||
12
Cargo.toml
12
Cargo.toml
@@ -25,12 +25,12 @@ path = "src/wasm2obj.rs"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
cranelift-codegen = "0.29.0"
|
cranelift-codegen = "0.29.0"
|
||||||
cranelift-native = "0.29.0"
|
cranelift-native = "0.29.0"
|
||||||
wasmtime-debug = { path = "lib/debug" }
|
wasmtime-debug = { path = "wasmtime-debug" }
|
||||||
wasmtime-environ = { path = "lib/environ" }
|
wasmtime-environ = { path = "wasmtime-environ" }
|
||||||
wasmtime-runtime = { path = "lib/runtime" }
|
wasmtime-runtime = { path = "wasmtime-runtime" }
|
||||||
wasmtime-jit = { path = "lib/jit" }
|
wasmtime-jit = { path = "wasmtime-jit" }
|
||||||
wasmtime-obj = { path = "lib/obj" }
|
wasmtime-obj = { path = "wasmtime-obj" }
|
||||||
wasmtime-wast = { path = "lib/wast" }
|
wasmtime-wast = { path = "wasmtime-wast" }
|
||||||
docopt = "1.0.1"
|
docopt = "1.0.1"
|
||||||
serde = "1.0.75"
|
serde = "1.0.75"
|
||||||
serde_derive = "1.0.75"
|
serde_derive = "1.0.75"
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ publish = false
|
|||||||
cargo-fuzz = true
|
cargo-fuzz = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmtime-environ = { path = "../lib/environ" }
|
wasmtime-environ = { path = "../wasmtime-environ" }
|
||||||
wasmtime-jit = { path = "../lib/jit" }
|
wasmtime-jit = { path = "../wasmtime-jit" }
|
||||||
cranelift-codegen = "0.29.0"
|
cranelift-codegen = "0.29.0"
|
||||||
cranelift-wasm = "0.29.0"
|
cranelift-wasm = "0.29.0"
|
||||||
cranelift-native = "0.29.0"
|
cranelift-native = "0.29.0"
|
||||||
|
|||||||
@@ -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.
|
# 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"
|
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.
|
# Update the version number of this crate to $version.
|
||||||
sed -i.bk -e "s/^version = .*/version = \"$version\"/" \
|
sed -i.bk -e "s/^version = .*/version = \"$version\"/" \
|
||||||
"$crate/Cargo.toml"
|
"$crate/Cargo.toml"
|
||||||
@@ -36,7 +36,7 @@ cargo update
|
|||||||
echo git commit -a -m "\"Bump version to $version"\"
|
echo git commit -a -m "\"Bump version to $version"\"
|
||||||
echo git push
|
echo git push
|
||||||
for crate in \
|
for crate in \
|
||||||
environ
|
wasmtime-environ
|
||||||
do
|
do
|
||||||
echo cargo publish --manifest-path "lib/$crate/Cargo.toml"
|
echo cargo publish --manifest-path "$crate/Cargo.toml"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ cranelift-codegen = "0.29.0"
|
|||||||
cranelift-entity = "0.29.0"
|
cranelift-entity = "0.29.0"
|
||||||
cranelift-wasm = "0.29.0"
|
cranelift-wasm = "0.29.0"
|
||||||
faerie = "0.7.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 }
|
target-lexicon = { version = "0.2.0", default-features = false }
|
||||||
failure = { version = "0.1.3", default-features = false }
|
failure = { version = "0.1.3", default-features = false }
|
||||||
failure_derive = { version = "0.1.3", default-features = false }
|
failure_derive = { version = "0.1.3", default-features = false }
|
||||||
@@ -16,9 +16,9 @@ cranelift-codegen = "0.29.0"
|
|||||||
cranelift-entity = "0.29.0"
|
cranelift-entity = "0.29.0"
|
||||||
cranelift-wasm = "0.29.0"
|
cranelift-wasm = "0.29.0"
|
||||||
cranelift-frontend = "0.29.0"
|
cranelift-frontend = "0.29.0"
|
||||||
wasmtime-environ = { path = "../environ", default-features = false }
|
wasmtime-environ = { path = "../wasmtime-environ", default-features = false }
|
||||||
wasmtime-runtime = { path = "../runtime", default-features = false }
|
wasmtime-runtime = { path = "../wasmtime-runtime", default-features = false }
|
||||||
wasmtime-debug = { path = "../debug", default-features = false }
|
wasmtime-debug = { path = "../wasmtime-debug", default-features = false }
|
||||||
region = "2.0.0"
|
region = "2.0.0"
|
||||||
failure = { version = "0.1.3", default-features = false }
|
failure = { version = "0.1.3", default-features = false }
|
||||||
failure_derive = { version = "0.1.3", default-features = false }
|
failure_derive = { version = "0.1.3", default-features = false }
|
||||||
@@ -15,5 +15,5 @@ edition = "2018"
|
|||||||
cranelift-codegen = "0.29.0"
|
cranelift-codegen = "0.29.0"
|
||||||
cranelift-entity = "0.29.0"
|
cranelift-entity = "0.29.0"
|
||||||
cranelift-wasm = "0.29.0"
|
cranelift-wasm = "0.29.0"
|
||||||
wasmtime-environ = { path = "../environ" }
|
wasmtime-environ = { path = "../wasmtime-environ" }
|
||||||
faerie = "0.7.1"
|
faerie = "0.7.1"
|
||||||
@@ -15,7 +15,7 @@ edition = "2018"
|
|||||||
cranelift-codegen = "0.29.0"
|
cranelift-codegen = "0.29.0"
|
||||||
cranelift-entity = "0.29.0"
|
cranelift-entity = "0.29.0"
|
||||||
cranelift-wasm = "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"
|
region = "2.0.0"
|
||||||
lazy_static = "1.2.0"
|
lazy_static = "1.2.0"
|
||||||
libc = { version = "0.2.44", default-features = false }
|
libc = { version = "0.2.44", default-features = false }
|
||||||
@@ -16,9 +16,9 @@ cranelift-codegen = "0.29.0"
|
|||||||
cranelift-native = "0.29.0"
|
cranelift-native = "0.29.0"
|
||||||
cranelift-wasm = "0.29.0"
|
cranelift-wasm = "0.29.0"
|
||||||
cranelift-entity = "0.29.0"
|
cranelift-entity = "0.29.0"
|
||||||
wasmtime-jit = { path = "../jit" }
|
wasmtime-jit = { path = "../wasmtime-jit" }
|
||||||
wasmtime-runtime = { path = "../runtime" }
|
wasmtime-runtime = { path = "../wasmtime-runtime" }
|
||||||
wasmtime-environ = { path = "../environ" }
|
wasmtime-environ = { path = "../wasmtime-environ" }
|
||||||
wabt = "0.7"
|
wabt = "0.7"
|
||||||
target-lexicon = "0.2.0"
|
target-lexicon = "0.2.0"
|
||||||
failure = { version = "0.1.3", default-features = false }
|
failure = { version = "0.1.3", default-features = false }
|
||||||
Reference in New Issue
Block a user