-
-
Notifications
You must be signed in to change notification settings - Fork 258
Closed
Description
This is misleading because other watchers are Send and so can be moved between threads.
Here is an example of an error I get in MacOS X only:
src/lib.rs:643:9: 643:22 error: the trait bound `*mut libc::c_void: std::marker::Send` is not satisfied [E0277]
src/lib.rs:643 thread::spawn(move || {
^~~~~~~~~~~~~
src/lib.rs:643:9: 643:22 help: run `rustc --explain E0277` to see a detailed explanation
src/lib.rs:643:9: 643:22 note: `*mut libc::c_void` cannot be sent between threads safely
src/lib.rs:643:9: 643:22 note: required because it appears within the type `notify::FsEventWatcher`
src/lib.rs:643:9: 643:22 note: required because it appears within the type `FsWatcher`
Reactions are currently unavailable