Skip to content

Commit

Permalink
[make test-rust-ffi-js] Add a workaround for oven-sh/bun#9878
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Apr 5, 2024
1 parent 6279f4a commit 0cf8436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rs-ffi/test/js_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
import { FFIType, dlopen, suffix } from "bun:ffi";

// @ts-ignore
const path = await import.meta.resolve(
const path = new URL(await import.meta.resolve(
`../../../target/release/libtwsearch_ffi.${suffix}`,
);
)).pathname;

const {
symbols: { ffi_random_scramble_for_event },
Expand Down

0 comments on commit 0cf8436

Please sign in to comment.