You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
@Boscop You've probably seen my comments from this morning on the other issues related to this topic. I've only ever built with MSYS2 on Windows. I posted the steps that work for me in #4, and there's a PR for a new build strategy that should work with MSVC: #5. I could use help testing #5, so if you try it, I'd appreciate some feedback on whether or not it works for you.
How to use it with rust-msvc?
The text was updated successfully, but these errors were encountered: