Public dry run dryrun-fc8380260013

Source commit: fc8380260013119c2535fa0ec860c9e0581c5896

Public tree identity: sha256:2edc3fda481ae8b3b5f4949811e496ec787aa436aa26bd070e14ac410ba75adc
This commit is contained in:
Disasmer release dry run 2026-07-03 15:28:47 +02:00
commit 28414a6e83
112 changed files with 39020 additions and 0 deletions

View file

@ -0,0 +1,30 @@
#!/usr/bin/env node
const assert = require("assert");
const cp = require("child_process");
const fs = require("fs");
const path = require("path");
const repo = path.resolve(__dirname, "..");
const sdk = fs.readFileSync(path.join(repo, "crates/disasmer-sdk/src/lib.rs"), "utf8");
assert.match(sdk, /pub struct RuntimeSpawnEvent/);
assert.match(sdk, /pub debugger_visible: bool/);
assert.match(sdk, /fn register_runtime_thread/);
assert.match(sdk, /register_runtime_thread\(id, self\.name, self\.env\)/);
assert.match(sdk, /pub fn debugger_visible\(&self\) -> bool/);
cp.execFileSync(
"cargo",
[
"test",
"-p",
"disasmer-sdk",
"spawn_task_start_registers_debugger_visible_runtime_thread",
"--",
"--exact",
],
{ cwd: repo, stdio: "inherit" }
);
console.log("SDK spawn runtime smoke passed");