mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2025-01-07 13:43:03 +03:00
Merge pull request #1738 from freebroccolo/master
Fix warnings in raytrace-parallel example
This commit is contained in:
commit
1f39a3045f
@ -1,3 +1,7 @@
|
|||||||
|
// Silences warnings from the compiler about Work.func and child_entry_point
|
||||||
|
// being unused when the target is not wasm.
|
||||||
|
#![cfg_attr(not(target_arch = "wasm32"), allow(dead_code))]
|
||||||
|
|
||||||
//! A small module that's intended to provide an example of creating a pool of
|
//! A small module that's intended to provide an example of creating a pool of
|
||||||
//! web workers which can be used to execute `rayon`-style work.
|
//! web workers which can be used to execute `rayon`-style work.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user