You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
--> d:\Users\jinqing01\.cargo\registry\src\github.com-1ecc6299db9ec823\ctrlc-3.4.0\src\lib.rs:63:31
|
63 | static INIT_LOCK: Mutex<()> = Mutex::new(());
| ^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0015`.
error: could not compile `ctrlc` due to previous error
The text was updated successfully, but these errors were encountered:
Rust 1.56.1 compiles error:
The text was updated successfully, but these errors were encountered: