lune/tests/ffi/utility/deno.ts
2024-10-22 02:22:48 +00:00

13 lines
222 B
TypeScript

export let libSuffix = "";
// @ts-ignore
switch (Deno.build.os) {
case "windows":
libSuffix = "dll";
break;
case "darwin":
libSuffix = "dylib";
break;
case "linux":
libSuffix = "so";
break;
}