Skip to content

Commit 9867ccd

Browse files
committed
separate wasm-unknown-test
1 parent fa4d49e commit 9867ccd

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ jobs:
377377
with: { wabt-version: "1.0.30" }
378378
- name: check wasm32-unknown without js
379379
run: |
380-
cargo build --release -p wasm-unknown-test --target wasm32-unknown-unknown --verbose
380+
cargo build --release --manifest-path wasm/wasm-unknown-test/Cargo.toml --target wasm32-unknown-unknown --verbose
381381
if wasm-objdump -xj Import target/wasm32-unknown-unknown/release/wasm_unknown_test.wasm; then
382382
echo "ERROR: wasm32-unknown module expects imports from the host environment" >2
383383
fi

Cargo.lock

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ resolver = "2"
9797
members = [
9898
"compiler", "compiler/core", "compiler/codegen",
9999
".", "common", "derive", "jit", "vm", "vm/sre_engine", "pylib", "stdlib", "derive-impl",
100-
"wasm/lib", "wasm/wasm-unknown-test",
100+
"wasm/lib",
101101
]
102102

103103
[workspace.package]

wasm/wasm-unknown-test/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ crate-type = ["cdylib"]
99
[dependencies]
1010
getrandom = { version = "0.2.12", features = ["custom"] }
1111
rustpython-vm = { path = "../../vm", default-features = false, features = ["compiler"] }
12+
13+
[workspace]

0 commit comments

Comments
 (0)