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
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Install wasi-sdk-20 (linux)"
- name: "Install wasi-sdk-30 (linux)"
run: |
set -x
curl -sS -L -O https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-linux.tar.gz
tar xf wasi-sdk-20.0-linux.tar.gz
curl -sS -L -O https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-30/wasi-sdk-30.0-x86_64-linux.tar.gz
tar xf wasi-sdk-30.0-x86_64-linux.tar.gz
sudo mkdir -p /opt/wasi-sdk
sudo mv wasi-sdk-20.0/* /opt/wasi-sdk/
sudo mv wasi-sdk-30.0-x86_64-linux/* /opt/wasi-sdk/
ls /opt/wasi-sdk/
- run: |
/opt/wasi-sdk/bin/clang-format --version
Expand Down Expand Up @@ -171,10 +171,10 @@ jobs:
with:
node-version: 'lts/*'
- run: npm ci
- name: Install Rust 1.81.0
- name: Install Rust 1.88.0
run: |
rustup toolchain install 1.81.0
rustup target add wasm32-wasip1 --toolchain 1.81.0
rustup toolchain install 1.88.0
rustup target add wasm32-wasip1 --toolchain 1.88.0
- name: Restore wasm-tools from cache
uses: actions/cache@v3
id: wasm-tools
Expand Down Expand Up @@ -207,10 +207,10 @@ jobs:
with:
node-version: 'lts/*'
- run: npm ci
- name: Install Rust 1.81.0
- name: Install Rust 1.88.0
run: |
rustup toolchain install 1.81.0
rustup target add wasm32-wasip1 --toolchain 1.81.0
rustup toolchain install 1.88.0
rustup target add wasm32-wasip1 --toolchain 1.88.0
- name: Restore wasm-tools from cache
uses: actions/cache@v3
id: wasm-tools
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ jobs:
with:
node-version: 'lts/*'
- run: npm ci
- name: Install Rust 1.81.0
- name: Install Rust 1.88.0
run: |
rustup toolchain install 1.81.0
rustup target add wasm32-wasip1 --toolchain 1.81.0
rustup toolchain install 1.88.0
rustup target add wasm32-wasip1 --toolchain 1.88.0
- name: Restore wasm-tools from cache
uses: actions/cache@v3
id: wasm-tools
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@ wpt-runtime.wasm
docs-app/bin/main.wasm
docs-app/pkg/*.tar.gz

# Local wasmtime install
/packages/wasmtime/bin

yarn-error.log
.vscode
.vscode
16 changes: 8 additions & 8 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ To build from source, you need to have the following tools installed to successf
```sh
cargo install cbindgen
```
- [wasi-sdk, version 20](https://github.com/WebAssembly/wasi-sdk/releases/tag/wasi-sdk-20),
- [wasi-sdk, version 30](https://github.com/WebAssembly/wasi-sdk/releases/tag/wasi-sdk-30),
with alternate [install instructions](https://github.com/WebAssembly/wasi-sdk#install)
```sh
curl -sS -L -O https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-linux.tar.gz
tar xf wasi-sdk-20.0-linux.tar.gz
curl -sS -L -O https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-30/wasi-sdk-30.0-x86_64-linux.tar.gz
tar xf wasi-sdk-30.0-x86_64-linux.tar.gz
sudo mkdir -p /opt/wasi-sdk
sudo mv wasi-sdk-20.0/* /opt/wasi-sdk/
sudo mv wasi-sdk-30.0-x86_64-linux/* /opt/wasi-sdk/
```

Build the runtime using npm:
Expand Down Expand Up @@ -101,13 +101,13 @@ npm run build
cargo install --locked wasm-tools
```

- [wasi-sdk, version 20](https://github.com/WebAssembly/wasi-sdk/releases/tag/wasi-sdk-20),
- [wasi-sdk, version 30](https://github.com/WebAssembly/wasi-sdk/releases/tag/wasi-sdk-30),
with alternate [install instructions](https://github.com/WebAssembly/wasi-sdk#install)
```sh
curl -sS -L -O https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-macos.tar.gz
tar xf wasi-sdk-20.0-macos.tar.gz
curl -sS -L -O https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-30/wasi-sdk-30.0-arm64-macos.tar.gz
tar xf wasi-sdk-30.0-arm64-macos.tar.gz
sudo mkdir -p /opt/wasi-sdk
sudo mv wasi-sdk-20.0/* /opt/wasi-sdk/
sudo mv wasi-sdk-30.0-arm64-macos/* /opt/wasi-sdk/
```

Build the runtime using npm:
Expand Down
39 changes: 0 additions & 39 deletions documentation/app/package-lock.json

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

18 changes: 0 additions & 18 deletions documentation/package-lock.json

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

3 changes: 1 addition & 2 deletions integration-tests/js-compute/fixtures/app/tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
"flake": true
},
"GET /cache-override/fetch/null-304-body": {
"environments": ["compute"],
"features": ["http-cache"]
"environments": ["compute"]
},
"GET /secret-store/exposed-as-global": {
"flake": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ import { CacheOverride } from 'fastly:cache-override';
import { getGeolocationForIpAddress } from 'fastly:geolocation';
import { createFanoutHandoff } from 'fastly:fanout';
import { routes } from './routes.js';
import { enableDebugLogging } from 'fastly:experimental';

enableDebugLogging(true);

function timeout(ms) {
return new Promise((resolve) => setTimeout(resolve, ms));
Expand Down
Loading
Loading