Allow Clippy lints in compiler-builtins-smoke-test

Rather than always needing to exclude `cb` when running `cargo clippy`,
just disable Clippy for the included module.
This commit is contained in:
Trevor Gross 2024-12-27 11:02:40 +00:00
parent 80dca45a80
commit 4e5a156cd0
2 changed files with 2 additions and 2 deletions

View file

@ -120,7 +120,6 @@ jobs:
run: ./ci/download-musl.sh
- run: |
cargo clippy --all \
--exclude cb \
--features libm-test/build-musl,libm-test/test-multiprecision \
--all-targets

View file

@ -4,8 +4,9 @@
#![feature(core_intrinsics)]
#![allow(internal_features)]
#![allow(dead_code)]
#![no_std]
#[allow(dead_code)]
#[allow(clippy::all)] // We don't get `libm`'s list of `allow`s, so just ignore Clippy.
#[path = "../../../src/math/mod.rs"]
pub mod libm;