Skip to content

Commit c9803c0

Browse files
committed
Fix dispatch2 without block2 feature
1 parent 65b656a commit c9803c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/dispatch2/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ impl From<QualityOfServiceClass> for dispatch_qos_class_t {
104104
}
105105

106106
pub use self::data::DispatchData;
107+
#[cfg(feature = "block2")]
107108
pub use self::ffi::dispatch_block_t;
108109
pub use self::group::{DispatchGroup, DispatchGroupGuard};
109110
pub use self::io::DispatchIO;

0 commit comments

Comments
 (0)