mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 09:23:31 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user