diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-04-28 12:35:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 12:35:23 -0400 |
commit | e0ca60e7707b5896ce67301aefd1de4a76e3cf75 (patch) | |
tree | 4c5357a3d3482b14cbc3773374aa885e1e29e90c /cli/js/runtime.ts | |
parent | f7ab19b1b7ba929f7fd1550e2e4ecebe91cd9ea3 (diff) |
BREAKING: Use LLVM target triple for Deno.build (#4948)
Deno.build.os values have changed to correspond to standard LLVM target triples
"win" -> "windows"
"mac" -> "darwin"
Diffstat (limited to 'cli/js/runtime.ts')
-rw-r--r-- | cli/js/runtime.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cli/js/runtime.ts b/cli/js/runtime.ts index d586503af..e16cee228 100644 --- a/cli/js/runtime.ts +++ b/cli/js/runtime.ts @@ -6,7 +6,7 @@ import * as util from "./util.ts"; import { setBuildInfo } from "./build.ts"; import { setVersions } from "./version.ts"; import { setPrepareStackTrace } from "./error_stack.ts"; -import { Start, start as startOp } from "./ops/runtime.ts"; +import { Start, opStart } from "./ops/runtime.ts"; import { handleTimerMacrotask } from "./web/timers.ts"; export let OPS_CACHE: { [name: string]: number }; @@ -36,12 +36,10 @@ export function start(source?: string): Start { // First we send an empty `Start` message to let the privileged side know we // are ready. The response should be a `StartRes` message containing the CLI // args and other info. - const s = startOp(); - + const s = opStart(); setVersions(s.denoVersion, s.v8Version, s.tsVersion); - setBuildInfo(s.os, s.arch); + setBuildInfo(s.target); util.setLogDebug(s.debugFlag, source); - setPrepareStackTrace(Error); return s; } |