diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af55c9c..9143250 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,9 +91,12 @@ jobs: shell: bash run: cargo $CMD build --verbose --target ${{ matrix.platform.target }} $OPTIONS --features $FEATURES - - name: Pin versions of dev-deps + - name: Pin deps that break MSRV if: matrix.rust_version == '1.65.0' - run: cargo update -p exr --precise 1.71.0 && cargo update -p ahash --precise 0.8.7 + run: + cargo update -p exr --precise 1.71.0 + cargo update -p ahash --precise 0.8.7 + cargo update -p bumpalo --precise 3.14.0 - name: Build tests shell: bash diff --git a/src/backends/web.rs b/src/backends/web.rs index 2b8e9b5..8d266d0 100644 --- a/src/backends/web.rs +++ b/src/backends/web.rs @@ -12,7 +12,6 @@ use web_sys::{OffscreenCanvas, OffscreenCanvasRenderingContext2d}; use crate::backend_interface::*; use crate::error::{InitError, SwResultExt}; use crate::{util, NoDisplayHandle, NoWindowHandle, Rect, SoftBufferError}; -use std::convert::TryInto; use std::marker::PhantomData; use std::num::NonZeroU32;