Skip to content

Commit c9ea135

Browse files
committed
bindings/rust/src/lib.rs: resolve a warning in no-std build.
1 parent 1991d85 commit c9ea135

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bindings/rust/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ use std::sync::{atomic::*, mpsc::channel, Arc};
2323
#[cfg(feature = "serde")]
2424
use serde::{Deserialize, Deserializer, Serialize, Serializer};
2525

26+
#[cfg(feature = "std")]
2627
trait ThreadPoolExt {
2728
fn joined_execute<'any, F>(&self, job: F)
2829
where

0 commit comments

Comments
 (0)