Upload Kmake

This commit is contained in:
Gorochu
2026-05-26 23:36:42 -07:00
parent ba051b2f74
commit 555ec72358
41615 changed files with 13344630 additions and 1 deletions

View File

@ -0,0 +1,4 @@
// Copyright 2024 Nathan Whitaker. All rights reserved. MIT license.
import run from "./skip-run.mjs";
await run();

View File

@ -0,0 +1,7 @@
// Copyright 2024 Nathan Whitaker. All rights reserved. MIT license.
import common from "./skip-common.mjs";
export default () => {
common;
};

View File

@ -0,0 +1,5 @@
// Copyright 2024 Nathan Whitaker. All rights reserved. MIT license.
await Promise.resolve();
export default () => {};

View File

@ -0,0 +1,7 @@
// Copyright 2024 Nathan Whitaker. All rights reserved. MIT license.
import common from "./skip-common.mjs";
export default () => {
common;
};

View File

@ -0,0 +1,7 @@
// Copyright 2024 Nathan Whitaker. All rights reserved. MIT license.
import common from "./skip-common.mjs";
export default () => {
common;
};

View File

@ -0,0 +1,7 @@
// Copyright 2024 Nathan Whitaker. All rights reserved. MIT license.
// make sure it takes >1 tick to evaluate the module
await import("./dummy").catch(() => {});
await import("./dummy").catch(() => {});
export default () => {};

View File

@ -0,0 +1,7 @@
// Copyright 2024 Nathan Whitaker. All rights reserved. MIT license.
import common from "./skip-common.mjs";
export default () => {
common;
};

View File

@ -0,0 +1,7 @@
// Copyright 2024 Nathan Whitaker. All rights reserved. MIT license.
import common from "./skip-common.mjs";
export default () => {
common;
};

View File

@ -0,0 +1,7 @@
// Copyright 2024 Nathan Whitaker. All rights reserved. MIT license.
import common from "./skip-common.mjs";
export default () => {
common;
};

View File

@ -0,0 +1,4 @@
// Copyright 2024 Nathan Whitaker. All rights reserved. MIT license.
import * as m from "./skip-async-module.mjs";
m;

View File

@ -0,0 +1,25 @@
// Copyright 2024 Nathan Whitaker. All rights reserved. MIT license.
export default async () => {
// depends on `skip-common.mjs` which contains a TLA
const a = import("./skip-a.mjs");
// this resolves, resetting the async ordinal counter
await import("./skip-imports-async-module.mjs");
// start evaluating more modules that depend on `skip-common.mjs`.
// one of these will receive a duplicate ordinal to
// `skip-a.mjs`
await Promise.all([
a,
import("./skip-b.mjs"),
import("./skip-c.mjs"),
import("./skip-d.mjs"),
import("./skip-e.mjs"),
import("./skip-f.mjs"),
]);
// when `common.mjs` settles, we go to update the state
// of the modules waiting on it. Due to the duplicate
// ordinal, one of the modules will be skipped and
// be stuck pending forever.
};