Skip to content

Commit

Permalink
link
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed May 17, 2024
1 parent 4de9d0d commit 0f46dec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions crates/samples/components/json_validator_client/build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
fn main() {
println!("cargo:rerun-if-changed=src/client.cpp");
println!("cargo:rustc-link-lib=ole32");

cc::Build::new()
.cpp(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include <assert.h>
#include <windows.h>
#include <string_view>
#pragma comment(lib, "ole32")

typedef HRESULT (__stdcall *CreateJsonValidator)(char const* schema, size_t schema_len, uintptr_t* handle);

Expand Down

0 comments on commit 0f46dec

Please sign in to comment.