Skip to content
Open
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
13 changes: 2 additions & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

env:
CARGO_TERM_COLOR: always
WASI_SDK_VERSION: 27
WASI_SDK_VERSION: 30

permissions:
contents: write
Expand Down Expand Up @@ -82,11 +82,6 @@ jobs:
os: "ubuntu-latest",
arch: "amd64",
maturin_target: "x86_64",
# As of this writing, the offical WASI-SDK x86_64-linux builds
# require a newer version of glibc than the manylinux 2_28 Maturin
# Docker build images support. That means we need to use a
# special build made using Ubuntu 18.04 here:
wasiSDK_source: "dicej",
wasiSDK: "x86_64-linux",
extension: "",
buildArgs: "",
Expand All @@ -97,7 +92,6 @@ jobs:
os: "ubuntu-latest",
arch: "aarch64",
maturin_target: "aarch64",
wasiSDK_source: "WebAssembly",
wasiSDK: "x86_64-linux",
extension: "",
buildArgs: "--target aarch64-unknown-linux-gnu",
Expand All @@ -108,7 +102,6 @@ jobs:
os: "macos-latest",
arch: "amd64",
maturin_target: "x86_64",
wasiSDK_source: "WebAssembly",
wasiSDK: "arm64-macos",
extension: "",
buildArgs: "",
Expand All @@ -119,7 +112,6 @@ jobs:
os: "macos-latest",
arch: "aarch64",
maturin_target: "aarch64",
wasiSDK_source: "WebAssembly",
wasiSDK: "arm64-macos",
extension: "",
buildArgs: "--target aarch64-apple-darwin",
Expand All @@ -130,7 +122,6 @@ jobs:
os: "windows-latest",
arch: "amd64",
maturin_target: "x64",
wasiSDK_source: "WebAssembly",
wasiSDK: "x86_64-windows",
extension: ".exe",
buildArgs: "",
Expand Down Expand Up @@ -188,7 +179,7 @@ jobs:
shell: bash
run: |
cd /tmp
curl -LO https://github.com/${{ matrix.config.wasiSDK_source }}/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-${{ matrix.config.wasiSDK }}.tar.gz
curl -LO https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-${{ matrix.config.wasiSDK }}.tar.gz
tar xf wasi-sdk-${WASI_SDK_VERSION}.0-${{ matrix.config.wasiSDK }}.tar.gz

- name: Install WASI-SDK
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

env:
CARGO_TERM_COLOR: always
WASI_SDK_VERSION: 27
WASI_SDK_VERSION: 30

jobs:
linux:
Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ channel](https://bytecodealliance.zulipchat.com/#narrow/stream/394175-SIG-Guest-
- Tools needed to build [CPython](https://github.com/python/cpython) (Make, Clang, etc.)
- [Rust](https://rustup.rs/) stable 1.71 or later *and* nightly 2023-07-27 or later, including the `wasm32-wasip1` and `wasm32-unknown-unknown` targets
- Note that we currently use the `-Z build-std` Cargo option to build the `componentize-py` runtime with position-independent code (which is not the default for `wasm32-wasip1`) and this requires using a recent nightly build of Rust.

For Rust, something like this should work once you have `rustup`:

```shell
Expand All @@ -38,16 +38,16 @@ First, make sure you've got all the submodules cloned.
git submodule update --init --recursive
```

Next, install WASI-SDK 27 to `/opt/wasi-sdk` (alternatively, you can specify a
Next, install WASI-SDK 30 to `/opt/wasi-sdk` (alternatively, you can specify a
different location and reference it later using the `WASI_SDK_PATH` environment
variable). Replace `arm64-linux` with `x86_64-linux`, `arm64-macos`,
`x86_64-macos`, `arm64-windows`, or `x86_64-windows` below depending on your
architecure and OS, if necessary.

```shell
curl -LO https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-27/wasi-sdk-27.0-arm64-linux.tar.gz
tar xf wasi-sdk-27.0-arm64-linux.tar.gz
sudo mv wasi-sdk-27.0-arm64-linux /opt/wasi-sdk
curl -LO https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-30/wasi-sdk-30.0-arm64-linux.tar.gz
tar xf wasi-sdk-30.0-arm64-linux.tar.gz
sudo mv wasi-sdk-30.0-arm64-linux /opt/wasi-sdk
export WASI_SDK_PATH=/opt/wasi-sdk
```

Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use {
};

const ZSTD_COMPRESSION_LEVEL: i32 = 19;
const DEFAULT_SDK_VERSION: &str = "27";
const DEFAULT_SDK_VERSION: &str = "30";

// SQLite version to build - 3.51.2 (latest as of Jan 2026)
const SQLITE_VERSION: &str = "3510200";
Expand Down
Loading