We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 777828a + 0eba2ef commit 1f39a30Copy full SHA for 1f39a30
examples/raytrace-parallel/src/pool.rs
@@ -1,3 +1,7 @@
1
+// Silences warnings from the compiler about Work.func and child_entry_point
2
+// being unused when the target is not wasm.
3
+#![cfg_attr(not(target_arch = "wasm32"), allow(dead_code))]
4
+
5
//! A small module that's intended to provide an example of creating a pool of
6
//! web workers which can be used to execute `rayon`-style work.
7
0 commit comments