-
-
Notifications
You must be signed in to change notification settings - Fork 27
Haiku operating system support #51
Copy link
Copy link
Open
Description
If your operating system isn't yet supported, please, create an issue.
👀
error[E0412]: cannot find type `ThreadId` in this scope
--> /boot/home/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/thread-priority-3.0.0/src/lib.rs:401:13
|
401 | pub id: ThreadId,
| ^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
161 + use std::thread::ThreadId;
|
error[E0412]: cannot find type `ThreadSchedulePolicy` in this scope
--> /boot/home/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/thread-priority-3.0.0/src/lib.rs:510:20
|
510 | policy: Option<ThreadSchedulePolicy>,
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
504 | pub struct ThreadBuilder<ThreadSchedulePolicy> {
| ++++++++++++++++++++++
error[E0425]: cannot find function `thread_native_id` in this scope
--> /boot/home/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/thread-priority-3.0.0/src/lib.rs:607:17
|
607 | thread_native_id(),
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `set_thread_priority_and_policy` in this scope
--> /boot/home/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/thread-priority-3.0.0/src/lib.rs:606:49
|
606 | (Some(priority), Some(policy)) => f(set_thread_priority_and_policy(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `set_current_thread_priority` in this scope
--> /boot/home/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/thread-priority-3.0.0/src/lib.rs:391:9
|
391 | set_current_thread_priority(self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^------
| |
| help: try calling `set_current_thread_priority` as a method: `self.set_current_thread_priority()`
error[E0425]: cannot find function `get_current_thread_priority` in this scope
--> /boot/home/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/thread-priority-3.0.0/src/lib.rs:416:23
|
416 | priority: get_current_thread_priority()?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `thread_native_id` in this scope
--> /boot/home/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/thread-priority-3.0.0/src/lib.rs:417:17
|
417 | id: thread_native_id(),
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `unix`
--> /boot/home/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/thread-priority-3.0.0/src/lib.rs:559:31
|
559 | pub fn policy<VALUE: Into<unix::ThreadSchedulePolicy>>(mut self, value: VALUE) -> Self {
| ^^^^ use of unresolved module or unlinked crate `unix`
|
= help: if you wanted to use a crate named `unix`, use `cargo add unix` to add it to your `Cargo.toml`
Some errors have detailed explanations: E0412, E0425, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `thread-priority` (lib) due to 9 previous errors
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels