From e0ca60e7707b5896ce67301aefd1de4a76e3cf75 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 28 Apr 2020 12:35:23 -0400 Subject: 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" --- cli/js/ops/runtime.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'cli/js/ops/runtime.ts') diff --git a/cli/js/ops/runtime.ts b/cli/js/ops/runtime.ts index 262e46231..247f0576d 100644 --- a/cli/js/ops/runtime.ts +++ b/cli/js/ops/runtime.ts @@ -2,11 +2,6 @@ import { sendSync } from "./dispatch_json.ts"; -// TODO(bartlomieju): these two types are duplicated -// in `cli/js/build.ts` - deduplicate -export type OperatingSystem = "mac" | "win" | "linux"; -export type Arch = "x64" | "arm64"; - export interface Start { cwd: string; pid: number; @@ -21,11 +16,10 @@ export interface Start { v8Version: string; tsVersion: string; noColor: boolean; - os: OperatingSystem; - arch: Arch; + target: string; } -export function start(): Start { +export function opStart(): Start { return sendSync("op_start"); } -- cgit v1.2.3