Skip to content

Commit

Permalink
Rust renamed wasi32-wasi to wasi32-wasip1.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Dec 1, 2024
1 parent dce6ade commit 6d2ed64
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Rust
uses: dtolnay/rust-toolchain@nightly
with:
targets: wasm32-wasi
targets: wasm32-wasip1
- name: Install dependencies
run: |
python -m pip install --upgrade pip build
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ make -C libtrellis-build install
# https://github.com/rust-lang/compiler-team/issues/574
cargo build --target-dir prjoxide-build \
--manifest-path prjoxide-src/libprjoxide/prjoxide/Cargo.toml \
--target wasm32-wasi \
--target wasm32-wasip1 \
--release

cargo install --target-dir prjoxide-build \
Expand Down
4 changes: 2 additions & 2 deletions npmjs-nexus/package-local.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"scripts": {
"transpile": [
"../prjoxide-build/wasm32-wasi/release/prjoxide.wasm",
"../prjoxide-build/wasm32-wasip1/release/prjoxide.wasm",
"../nextpnr-build/nextpnr-nexus.wasm"
]
}
}
}
2 changes: 1 addition & 1 deletion package-pypi-nexus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PYTHON=${PYTHON:-python}
cd $(dirname $0)

mkdir -p pypi-nexus/yowasp_nextpnr_nexus/bin/
cp prjoxide-build/wasm32-wasi/release/prjoxide.wasm \
cp prjoxide-build/wasm32-wasip1/release/prjoxide.wasm \
nextpnr-build/nextpnr-nexus.wasm \
pypi-nexus/yowasp_nextpnr_nexus/
mkdir -p pypi-nexus/yowasp_nextpnr_nexus/share/nexus
Expand Down

0 comments on commit 6d2ed64

Please sign in to comment.