From 7bfac8f28e8d7951fd538808c847ccbc62230921 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Sat, 3 Apr 2021 22:09:44 +0100 Subject: [PATCH] Downgrade rust for web --- .github/workflows/ci.yml | 4 ++-- README.md | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ae0a71..6ca4c17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,7 +71,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: 1.47.0 # FIXME: Because of https://github.com/palfrey/maiden/issues/40 override: true - uses: Swatinem/rust-cache@v1 - name: Install Cargo web @@ -89,7 +89,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: 1.47.0 # FIXME: Because of https://github.com/palfrey/maiden/issues/40 override: true - uses: Swatinem/rust-cache@v1 - name: Install Cargo web diff --git a/README.md b/README.md index b560964..acd52bb 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ After this, `cargo run --quiet ` works pretty well Web version ----------- There's a deployed edition at https://palfrey.github.io/maiden/. To work with it -1. [Install cargo web](https://github.com/koute/cargo-web#installation) (0.6.24 or above, because of stdweb) -2. Run `cargo web start --auto-reload --release` (weird bugs with debug config for some reasons) -3. Goto http://localhost:8000/ +1. Install Rust < 1.48.0 (workaround for [#40](https://github.com/palfrey/maiden/issues/40) until stdweb fixes things, or we move off it) +2. [Install cargo web](https://github.com/koute/cargo-web#installation) (0.6.24 or above, because of stdweb) +3. Run `cargo web start --auto-reload --release` (weird bugs with debug config for some reasons) +4. Goto http://localhost:8000/