Skip to content

Commit

Permalink
Enable nightly doc testing again. (#580)
Browse files Browse the repository at this point in the history
[`pathfinder_simd`](https://crates.io/crates/pathfinder_simd) v0.5.2 is
no longer the latest and Cargo resolves it for `piet-svg` as v0.5.4
which once again works with the nightly Rust toolchain.

Fixes #566.
  • Loading branch information
xStrom authored Oct 22, 2024
1 parent 49ff3c9 commit 4fc23cb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,8 @@ jobs:
if: contains(matrix.os, 'ubuntu')

- name: install nightly toolchain
# NOTE: Currently pinned to 2024-02-01 with '@master'. Move to just '@nightly' when possible.
# Right now that breaks the build due to pathfinder_simd 0.5.2 not compiling with nightly.
# The issue seems to have been fixed in https://github.com/servo/pathfinder/pull/548
# However there is no new published crate version containing that fix, yet.
# See more at https://github.com/linebender/piet/issues/566
uses: dtolnay/rust-toolchain@master
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2024-02-01
targets: wasm32-unknown-unknown

- name: restore cache
Expand Down

0 comments on commit 4fc23cb

Please sign in to comment.