reem / rust-event

A global event loop
108 stars 10 forks source link

"cargo build" fails #5

Open bo01ean opened 7 years ago

bo01ean commented 7 years ago
shop:rust-event NathanTrujillo$ cargo build
   Compiling event v0.2.2 (file:///Users/NathanTrujillo/Documents/gits/rust-event)
error: macro undefined: 'scoped_thread_local!'
  --> src/lib.rs:34:1
   |
34 | scoped_thread_local!(static EVENT_LOOP_FAST: MutScoped<IoLoop>);
   | ^^^^^^^^^^^^^^^^^^^

error: macro undefined: 'scoped_thread_local!'
  --> src/lib.rs:35:1
   |
35 | scoped_thread_local!(static HANDLER: MutScoped<IoHandler>);
   | ^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

error: Could not compile `event`.
reem commented 7 years ago

This repo is quite old and has been made mostly irrelevant by the creation of tokio, I recommend you use that instead. I'll leave the issue open because it is a correct report but this will probably not get fixed.