Hello,
I have some noob question as I just started learning programming.
I have build some app using Isahc crate on my Linux VM and it works great. I wanted to test it on my Windows PC, so I made exec's... but there I have just cmd window flashing and nothing.
When I try to cargo run
this program on Windows I have error:
Compiling isahc v0.9.12
error: attributes are not yet allowed on `if` expressions
--> C:\Users\xxx\.cargo\registry\src\github.com-1ecc6299db9ec823\isahc-0.9.12\src\config\dial.rs:137:9
|
137 | #[cfg(unix)]
| ^^^^^^^^^^^^
error: aborting due to previous error
Is it possible that this module will not work on windows? I must use some other HTTP client?