bin/runcpu: remove dead code, resolve SPEC path

This commit is contained in:
2025-04-26 20:27:10 +08:00
parent 607397d3a6
commit 1786bd659e

View File

@@ -90,8 +90,6 @@ console.log("simd: " + chalk.red(argv.simd));
console.log("sunway generation: " + chalk.red(sunwayGeneration));
console.log(`using sysroot: ${chalk.red(sysroot)}`);
const specPath = path.resolve(argv.spec);
// Function to convert hash to prefix
// Generate a random UUID for this run
@@ -112,7 +110,7 @@ const unalignedFlags = [
];
const spec = mkSPEC(argv.spec);
const spec = mkSPEC(path.resolve(argv.spec));
const specProc = await spawnSPECWithID(
spec,