Allow float_cmp since we use it to check if floating point values changed from the last value assigned, not compare two different floating point values; downgrade not_unsafe_ptr_arg_deref to warning
This commit is contained in:
parent
c4690bba32
commit
bffb33297f
|
@ -6,7 +6,7 @@ jobs:
|
|||
displayName: "Install build dependencies"
|
||||
condition: eq(variables['Agent.OS'], 'Linux')
|
||||
minrust: 1.44.1
|
||||
clippy: -A clippy::not_unsafe_ptr_arg_deref -A clippy::float_cmp
|
||||
clippy:
|
||||
|
||||
resources:
|
||||
repositories:
|
||||
|
|
|
@ -13,8 +13,10 @@
|
|||
// limitations under the License.
|
||||
|
||||
#![recursion_limit = "300"]
|
||||
#![allow(clippy::too_many_arguments)]
|
||||
#![allow(clippy::many_single_char_names)]
|
||||
#![allow(clippy::too_many_arguments)] // match standard gl functions with many arguments
|
||||
#![allow(clippy::many_single_char_names)] // short variable names provide concise clarity
|
||||
#![warn(clippy::not_unsafe_ptr_arg_deref)] // TODO: fix unsafe warnings
|
||||
#![allow(clippy::float_cmp)] // float comparison used to check if changed
|
||||
|
||||
use log::{error, info, warn};
|
||||
use std::time::{Duration, Instant};
|
||||
|
|
Loading…
Reference in New Issue