Skip to content

Commit 61ce9f5

Browse files
committed
Fix wasm-pack and wasm-bindgen links
.. after the rustwasm org was closed.
1 parent 2ebe342 commit 61ce9f5

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ jobs:
371371
with:
372372
node-version: 20
373373
- name: Install wasm-pack
374-
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
374+
run: curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh
375375
- name: Fake slint-lsp build
376376
run: |
377377
mkdir -p target/debug

.github/workflows/nightly_snapshot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ jobs:
293293
working-directory: editors/vscode
294294
run: pnpm install --frozen-lockfile
295295
- name: Install wasm-pack
296-
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
296+
run: curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh
297297
- name: Build package and optionally publish to Visual Studio Marketplace
298298
id: publishToVSCM
299299
uses: HaaLeo/publish-vscode-extension@v2

.github/workflows/wasm_demos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
target: wasm32-unknown-unknown
3030
- name: Install wasm-pack
31-
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
31+
run: curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh
3232
- name: Printerdemo WASM build
3333
run: |
3434
sed -i "s/#wasm# //" Cargo.toml

.github/workflows/wasm_editor_and_interpreter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
target: wasm32-unknown-unknown
3333
- name: Install wasm-pack
34-
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
34+
run: curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh
3535

3636
- name: Compile slint-wasm-interpreter
3737
run: wasm-pack build --release --target web -- --features console_error_panic_hook

docs/astro/src/content/docs/guide/platforms/web.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ For a step-by-step walkthrough, check out the last chapter of the <Link type="qu
3838

3939
Below is a summary of the main steps:
4040

41-
In your `Cargo.toml`, set the crate type to `"cdylib"` and add [`wasm-bindgen`](https://rustwasm.github.io/wasm-bindgen/) as a dependency for the "wasm" target:
41+
In your `Cargo.toml`, set the crate type to `"cdylib"` and add [`wasm-bindgen`](https://wasm-bindgen.github.io/wasm-bindgen/) as a dependency for the "wasm" target:
4242

4343
```toml
4444
[lib]
@@ -66,7 +66,7 @@ pub fn main() {
6666
}
6767
```
6868

69-
Build the application using [wasm-pack](https://rustwasm.github.io/wasm-pack/).
69+
Build the application using [wasm-pack](https://drager.github.io/wasm-pack/).
7070

7171
```bash
7272
wasm-pack build --release --target web
@@ -101,4 +101,4 @@ Because the clipboard API in `web-sys` is still unstable, you need to opt in by
101101
RUSTFLAGS=--cfg=web_sys_unstable_apis
102102
```
103103

104-
You can read more in the [`web-sys` unstable APIs documentation](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html).
104+
You can read more in the [`web-sys` unstable APIs documentation](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html).

docs/astro/src/content/docs/tutorial/running_in_a_browser.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Only Rust supports using Slint with WebAssembly.
1313
If you're using Rust, the tutorial so far used `cargo run` to build and run the code as a native application.
1414
Native applications are the primary target of the Slint framework, but it also supports WebAssembly
1515
for demonstration purposes. This section uses the standard rust tool `wasm-bindgen` and
16-
`wasm-pack` to run the game in the browser. Read the [wasm-bindgen documentation](https://rustwasm.github.io/docs/wasm-bindgen/examples/without-a-bundler.html)
16+
`wasm-pack` to run the game in the browser. Read the [wasm-bindgen documentation](https://wasm-bindgen.github.io/wasm-bindgen/examples/without-a-bundler.html)
1717
for more about using wasm and rust.
1818

1919
Install `wasm-pack` using cargo:

0 commit comments

Comments
 (0)