Skip to content

Commit

Permalink
Rid --no-default-features build of warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Dec 22, 2021
1 parent f422092 commit e6b244f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ash/src/extensions/experimental/amd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
*
**********************************************************************************************************************/

#[cfg(feature = "debug")]
use crate::prelude::debug_flags;
use crate::vk::*;

Expand Down
2 changes: 2 additions & 0 deletions ash/src/prelude.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use std::convert::TryInto;
#[cfg(feature = "debug")]
use std::fmt;

use crate::vk;
Expand Down Expand Up @@ -83,6 +84,7 @@ where
}
}

#[cfg(feature = "debug")]
pub(crate) fn debug_flags<Value: Into<u64> + Copy>(
f: &mut fmt::Formatter,
known: &[(Value, &'static str)],
Expand Down

0 comments on commit e6b244f

Please sign in to comment.