fix(clippy): silence intended unknown profile

This commit is contained in:
winstxnhdw 2024-06-27 04:55:29 +08:00
parent 1c582841c6
commit 3eb7fba0b7
No known key found for this signature in database
GPG Key ID: 28C6693A1379DAE9
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ fn main() {
let profile_target_requires_frame_pointer: bool =
target_cfg!(not(all(target_os = "linux", target_arch = "x86_64")));
#[allow(unexpected_cfgs)]
const PROFILE_BUILD_ENABLED: bool = cfg!(feature = "profile");
let profile_config = |cfg: &mut cc::Build| {