Public dry run dryrun-8bfdd8cef231

Source commit: 8bfdd8cef23135fc1d8c9f3d74c54444b500cca8

Public tree identity: sha256:d501c4af6dfe7b1b52000bc1f5c256e001440f81f3c1e00e3615a8a84da21693
This commit is contained in:
Disasmer release dry run 2026-07-01 15:35:27 +02:00
commit 8b11b88146
109 changed files with 34600 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");