From cdedc27d3dcd1e6fba32fa796d3c85fc3e21a766 Mon Sep 17 00:00:00 2001 From: Colton Hurst Date: Fri, 31 Jan 2025 09:53:52 -0500 Subject: [PATCH] PM-17619: Small updates --- .../desktop_native/windows-plugin-authenticator/README.md | 2 +- .../desktop_native/windows-plugin-authenticator/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/desktop/desktop_native/windows-plugin-authenticator/README.md b/apps/desktop/desktop_native/windows-plugin-authenticator/README.md index c40c06ee60c..6dc72ceed46 100644 --- a/apps/desktop/desktop_native/windows-plugin-authenticator/README.md +++ b/apps/desktop/desktop_native/windows-plugin-authenticator/README.md @@ -8,7 +8,7 @@ You can find more information about the Windows WebAuthn API's [here](https://gi To build this crate, set the following environment variables: -- `LIBCLANG_PATH` -> the path to `clang.dll` or `libclang.dll` for `bindgen` +- `LIBCLANG_PATH` -> the path to the `bin` directory of your LLVM install ([more info](https://rust-lang.github.io/rust-bindgen/requirements.html?highlight=libclang_path#installing-clang)) ### Bash Example diff --git a/apps/desktop/desktop_native/windows-plugin-authenticator/src/lib.rs b/apps/desktop/desktop_native/windows-plugin-authenticator/src/lib.rs index 876d9b42835..e226000e6fa 100644 --- a/apps/desktop/desktop_native/windows-plugin-authenticator/src/lib.rs +++ b/apps/desktop/desktop_native/windows-plugin-authenticator/src/lib.rs @@ -3,7 +3,7 @@ mod pa; pub fn get_version_number() -> u64 { - unsafe { pa::WebAuthNGetApiVersionNumber().into() } + unsafe { pa::WebAuthNGetApiVersionNumber() }.into() } pub fn add_authenticator() {