Closed
Description
I'm on x86_64 Manjaro running Rust trying to build this library. It'd be helpful to know what targets (as defined by Rust) are supported. I'm trying to compile for x86_64-pc-windows-gnu
(x86_64-pc-windows-msvc
has the same error):
$ cargo build --features win_rt --target x86_64-pc-windows-gnu
Compiling serialport v3.3.1-alpha.0 (/home/susurrus/Projects/serialport-rs)
error: proc macro panicked
--> src/windows/winrt.rs:12:1
|
12 | / import!(
13 | | dependencies
14 | | os
15 | | modules
... |
18 | | "windows.storage.streams"
19 | | );
| |__^
|
= help: message: No `windir` environment variable found
error: aborting due to previous error
error: could not compile `serialport`.
To learn more, run the command again with --verbose.
Metadata
Metadata
Assignees
Labels
No labels