Skip to content

How to use it with rust-msvc? #8

Open
@Boscop

Description

@Boscop

How to use it with rust-msvc?

D:\data\tmp\libusb-rs>cargo run --example list_devices
   Compiling libusb-sys v0.2.3
   Compiling kernel32-sys v0.2.2
error: failed to run custom build command for `libusb-sys v0.2.3`
process didn't exit successfully: `D:\data\tmp\libusb-rs\target\debug\build\libu
sb-sys-49cf5f1d794041ca\build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "MSVC ta
rget detected. If you are using the MSVC ABI rust build, please use the GNU ABI
build instead."', src\libcore\result.rs:906:4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions