Skip to content

Commit

Permalink
Fix LazyBool import
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Jan 24, 2025
1 parent 3d2f865 commit 50d507f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/backends/rndr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ fn is_rndr_available() -> bool {

#[cfg(not(target_feature = "rand"))]
fn is_rndr_available() -> bool {
use crate::lazy::LazyBool;
static RNDR_GOOD: LazyBool = LazyBool::new();
#[path = "../lazy.rs"]
mod lazy;
static RNDR_GOOD: lazy::LazyBool = lazy::LazyBool::new();

cfg_if::cfg_if! {
if #[cfg(feature = "std")] {
Expand Down

0 comments on commit 50d507f

Please sign in to comment.