Skip to content

Commit b06655e

Browse files
committed
separate wasm-unknwon-test from workspace
1 parent 4daf857 commit b06655e

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
if: runner.os == 'macOS'
137137

138138
- name: run clippy
139-
run: cargo clippy ${{ env.CARGO_ARGS }} --workspace --exclude rustpython_wasm -- -Dwarnings
139+
run: cargo clippy ${{ env.CARGO_ARGS }} --workspace --exclude rustpython_wasm -- -Dwarnings
140140

141141
- name: run rust tests
142142
run: cargo test --workspace --exclude rustpython_wasm --verbose --features threading ${{ env.CARGO_ARGS }}
@@ -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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ edition = "2021"
77
crate-type = ["cdylib"]
88

99
[dependencies]
10-
getrandom = { version = "0.2.7", features = ["custom"] }
10+
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)