Skip to content

Commit

Permalink
try logging stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzdan committed Dec 16, 2023
1 parent a68a9fb commit 7051a1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ if (currentPlatform() == "windows") {
spawnChecked("./mach", ["package"], buildOptions);
}

const rv = spawnSync("rustc", ["--version"]);
console.log("rustc version stdout", rv.stdout.toString());
console.log("rustc version stderr", rv.stderr.toString());

function spawnChecked(cmd, args, options) {
const prettyCmd = [cmd].concat(args).join(" ");
console.error(prettyCmd);
Expand Down

0 comments on commit 7051a1a

Please sign in to comment.