Skip to content

Commit a60f1a6

Browse files
committed
Cannot exclude when using no-default-features
1 parent b877d20 commit a60f1a6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/worker/multithreaded.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
#![cfg(all(
2-
not(any(target_arch = "asmjs", target_arch = "wasm32")),
3-
feature = "rayon"
4-
))]
5-
61
//! This module implements per-component parallelism.
72
//! It should be possible to implement per-row parallelism as well,
83
//! which should also boost performance of grayscale images
@@ -18,6 +13,7 @@ use std::{
1813
sync::mpsc::{self, Receiver, Sender},
1914
};
2015

16+
#[allow(dead_code)]
2117
pub fn with_multithreading<T>(f: impl FnOnce(&mut dyn Worker) -> T) -> T {
2218
let mut worker = MpscWorker::default();
2319
f(&mut worker)

0 commit comments

Comments
 (0)