Skip to content

Commit

Permalink
hidapi-async: update libusb/hidapi submodule of the hidapi dep
Browse files Browse the repository at this point in the history
This fixes BitBoxSwiss#43 -
a regression where libusb/hidapi would report the interface number of
both (HWW and U2F) as 0 instead of 0 and 1 on macOS 13.3.

The fix is to pull the upstream fix:
libusb/hidapi#534.

hidapi-rs was forked to benma/hidapi-rs to pull in the latest
libusb/hidapi that contains the fix.

This also led me down a rabbit-hole of updating the Docker base image
and all sorts of dependencies.
  • Loading branch information
benma committed May 9, 2023
1 parent 72660c2 commit b07721a
Show file tree
Hide file tree
Showing 9 changed files with 598 additions and 541 deletions.
8 changes: 4 additions & 4 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[target.x86_64-apple-darwin]
linker = "x86_64-apple-darwin20.2-clang"
ar = "x86_64-apple-darwin20.2-ar"
linker = "x86_64-apple-darwin21.4-clang"
ar = "x86_64-apple-darwin21.4-ar"

[target.aarch64-apple-darwin]
linker = "aarch64-apple-darwin20.2-clang"
ar = "aarch64-apple-darwin20.2-ar"
linker = "aarch64-apple-darwin21.4-clang"
ar = "aarch64-apple-darwin21.4-ar"

[target.x86_64-pc-windows-gnu]
linker = "x86_64-w64-mingw32-gcc"
Loading

0 comments on commit b07721a

Please sign in to comment.