Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(*) cargo update and switch to 'wasm32-wasip1' target #593

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/job-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
if: ${{ !env.ACT }}
uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-wasi
target: wasm32-wasip1
- name: Setup Go
if: ${{ !env.ACT }}
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job-valgrind-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
if: ${{ !env.ACT }}
uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-wasi
target: wasm32-wasip1
- name: Setup Go
if: ${{ !env.ACT }}
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion assets/release/Dockerfiles/Dockerfile.ubuntu-22.04
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ RUN apt-get install -y \
unzip \
sudo && \
update-alternatives --install /usr/bin/scan-build scan-build /usr/bin/scan-build-${CLANG_VERSION} 100 && \
rustup target add wasm32-wasi && \
rustup target add wasm32-wasip1 && \
rustup target add wasm32-unknown-unknown && \
curl -sLO https://golang.google.cn/dl/go${GOLANG_VERSION}.linux-$(cat /TG_ARCH).tar.gz && \
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-$(cat /TG_ARCH).tar.gz && \
Expand Down
2 changes: 1 addition & 1 deletion docs/DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ the system will quickly become necessary for development:
- Then add the Wasm target to your toolchain: `rustup target add
wasm32-unknown-unknown`.
- As well as the [WASI](https://wasi.dev/) target: `rustup target add
wasm32-wasi`.
wasm32-wasip1`.

[Back to TOC](#table-of-contents)

Expand Down
54 changes: 32 additions & 22 deletions lib/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion t/03-proxy_wasm/hfuncs/119-proxy_properties_get_ngx.t
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,5 @@ ngx_http_* calls.
qr/\[info\] .*? \[hostcalls\] on_tick/,
qr/\[error\] .*? cannot get ngx properties outside of a request/,
qr/\[crit\] .*? panicked at/,
qr/unexpected status: 10/,
qr/value: InternalFailure/,
]
4 changes: 2 additions & 2 deletions t/03-proxy_wasm/hfuncs/120-proxy_properties_get_host.t
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ qr/\[info\] .*? property not found: was,/
qr/\[info\] .*? \[hostcalls\] on_tick/,
qr/\[error\] .*? cannot get host properties outside of a request/,
qr/\[crit\] .*? panicked at/,
qr/unexpected status: 10/,
qr/value: InternalFailure/,
]


Expand All @@ -168,5 +168,5 @@ qr/\[info\] .*? property not found: was,/
qr/\[info\] .*? \[hostcalls\] on_tick/,
qr/\[error\] .*? cannot get host properties outside of a request/,
qr/\[crit\] .*? panicked at/,
qr/unexpected status: 10/,
qr/value: InternalFailure/,
]
Loading
Loading