-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
I was working on the MSI. It's working OK, but I've discovered that --release builds are crashing on startup, whether installed via MSI or not. Debug builds work fine both with and without the installer.
cargo run --release
warning: field `stub_instance_id` is never read
--> src\usbipd.rs:71:9
|
51 | pub struct UsbDevice {
| --------- field in this struct
...
71 | pub stub_instance_id: Option<String>,
| ^^^^^^^^^^^^^^^^
|
= note: `UsbDevice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
warning: `wsl-usb-manager` (bin "wsl-usb-manager") generated 1 warning
Finished `release` profile [optimized] target(s) in 0.15s
Running `target\release\wsl-usb-manager.exe`
error: process didn't exit successfully: `target\release\wsl-usb-manager.exe` (exit code: 0xc000001d, STATUS_ILLEGAL_INSTRUCTION)
Metadata
Metadata
Assignees
Labels
No labels