diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af55c9c..c16bd5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,14 +87,17 @@ jobs: if: (matrix.platform.os == 'ubuntu-latest') && contains(matrix.platform.target, 'i686') run: sudo apt-get install gcc-multilib + - 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 + cargo update -p bumpalo --precise 3.14.0 + - name: Build crate shell: bash run: cargo $CMD build --verbose --target ${{ matrix.platform.target }} $OPTIONS --features $FEATURES - - name: Pin versions of dev-deps - if: matrix.rust_version == '1.65.0' - run: cargo update -p exr --precise 1.71.0 && cargo update -p ahash --precise 0.8.7 - - name: Build tests shell: bash if: > 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;