Skip to content

Commit

Permalink
bindings/rust/src/lib.rs: resolve a warning in no-std build.
Browse files Browse the repository at this point in the history
  • Loading branch information
dot-asm committed May 28, 2024
1 parent 1991d85 commit c9ea135
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bindings/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ use std::sync::{atomic::*, mpsc::channel, Arc};
#[cfg(feature = "serde")]
use serde::{Deserialize, Deserializer, Serialize, Serializer};

#[cfg(feature = "std")]
trait ThreadPoolExt {
fn joined_execute<'any, F>(&self, job: F)
where
Expand Down

0 comments on commit c9ea135

Please sign in to comment.