-
Notifications
You must be signed in to change notification settings - Fork 1
Description
My actual goal is to use Cargo Mobile on windows, but that's only kinda relevant. I just made a new project to test bossy, and it doesn't compile. Here's my main.rs:
fn main() {
let mut command = bossy::Command::impure("code")
.with_args(&["--install-extension", "vadimcn.vscode-lldb"]);
//if non_interactive.yes() {
//command.add_arg("--force");
//}
let running = command.run_and_wait();
}
and my cargo.toml:
[package]
name = "bug-testing"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bossy = "0.2.1"
and here's the output of cargo check:
cargo check
Checking bossy v0.2.1
error[E0432]: unresolved import winapi::um::winbase
--> C:\Users\Jonathan.cargo\registry\src\index.crates.io-6f17d22bba15001f\bossy-0.2.1\src\lib.rs:322:29
|
322 | use winapi::um::winbase::{CREATE_NEW_PROCESS_GROUP, CREATE_NO_WINDOW};
| ^^^^^^^ could not find winbase in um
For more information about this error, try rustc --explain E0432.
error: could not compile bossy (lib) due to 1 previous error
I don't open issues much, so please tell me if I'm doing anything wrong