Open TheLonelyAdventurer opened 1 year ago
If using the tokio library and enabling the "process" feature, there will also be a STATUS_ENTRYPOINT_NOT_FOUND. cargo.toml:
[dependencies]
native-windows-derive = "1.0.5"
native-windows-gui = "1.0.13"
tokio = { version = "1.35.1", features = ["rt", "rt-multi-thread", "macros", "sync", "time",
"process",
] }
Run it:
cargo run
Finished dev [unoptimized + debuginfo] target(s) in 9.78s
Running target\debug\test01.exe
error: process didn't exit successfully: target\debug\test01.exe
(exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND)
If I just try to import clap, the program fails to execute.
Minimal example:
If I comment the
use clap;
, then the program works as expected.Here is the error:
This happens with both
derive
orcargo
features of clap.