From 054e00f4c10ec354f009ee0891faf7ef1345ac2f Mon Sep 17 00:00:00 2001 From: Ross Smyth Date: Wed, 27 Mar 2024 14:32:04 -0400 Subject: [PATCH] Fix nightly lint causing compilation to fail --- .github/workflows/ci.yaml | 22 ++++++++++++++++++++++ src/lib.rs | 1 - 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ccacede3..3a219434 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -244,3 +244,25 @@ jobs: disable_extra_builds: true disable_tests: true target: x86_64-unknown-netbsd + + x86_64-pc-windows-msvc-nightly: + uses: ./.github/workflows/build.yaml + with: + runs_on: windows-2019 + target: x86_64-pc-windows-msvc + toolchain: nightly + + x86_64-unknown-linux-gnu-nightly: + uses: ./.github/workflows/build.yaml + with: + extra_packages: libudev-dev + target: x86_64-unknown-linux-gnu + toolchain: nightly + + aarch64-apple-darwin: + uses: ./.github/workflows/build.yaml + with: + disable_tests: true + runs_on: macos-latest + target: aarch64-apple-darwin + toolchain: nightly diff --git a/src/lib.rs b/src/lib.rs index f369c41c..25b98db4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -32,7 +32,6 @@ // doc tests. #![doc(test(attr(allow(unused_must_use))))] -use std::convert::From; use std::error::Error as StdError; use std::fmt; use std::io;