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:
parent
80dca45a80
commit
4e5a156cd0
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue