async function checkIsWsl() { return Deno.build.os === "linux" && await hasMicrosoftProcVersion();
async function hasMicrosoftProcVersion() { try { const procVersion = await Deno.readTextFile("/proc/version"); return /microsoft/i.test(procVersion); } catch { return false; } }}
let isCI: boolean;try { isCI = (Deno.env.get("CI")?.length ?? 0) > 0;} catch { isCI = true;}
const isLinuxOrMacCI = (Deno.build.os === "linux" || Deno.build.os === "darwin") && isCI;const isWsl = await checkIsWsl();
export const ignore = isWsl || isLinuxOrMacCI;
export function cleanUp(device: GPUDevice) { device.destroy();
const resources = Object.keys(Deno.resources()); Deno[Deno.internal].core.close(Number(resources[resources.length - 1]));}