linera-io / linera-io/linera-protocol
Regarding installation in Windows
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 32.1k
- Forks
- 2.4k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 67
Description
I was installing linera-service on windows and I already had rust and protoc set-up in my machine.
I changed the rust compilation from mvsc to gnu though.
I am getting the following error after compiling about 670/689 modules.
Seems to be a OS specific issue.
error[E0432]: unresolved import tokio::signal::unix
--> C:\Users\Ankur Gupta.cargo\registry\src\index.crates.io-6f17d22bba15001f\linera-service-0.11.3\src/linera\net_up_utils.rs:17:13
|
17 | use tokio::{signal::unix, sync::mpsc};
| ^^^^^^^^^^^^ no unix in signal
|
note: found an item that was configured out
--> C:\Users\Ankur Gupta.cargo\registry\src\index.crates.io-6f17d22bba15001f\tokio-1.38.0\src\signal\mod.rs:63:9
|
63 | pub mod unix;
| ^^^^
For more information about this error, try rustc --explain E0432.
error: could not compile linera-service (bin "linera") due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile linera-service v0.11.3, intermediate artifacts can be found at C:\windows\TEMP\cargo-installb1pgGt.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with linera/net_up_utils.rs and inspect the use of tokio::signal::unix alongside Tokio's platform-specific configuration shown in the compiler error. Reproduce the Windows build with the reported Rust GNU setup; done means linera-service compiles successfully on Windows without the unresolved import.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100