From 0e8e6d7251c34e8cd961e0fae9b0ff7d2ff00a58 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Tue, 19 Jan 2021 20:03:50 +0100 Subject: chore: add compile aarch64-apple-darwin target (#9174) --- cli/flags.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cli/flags.rs b/cli/flags.rs index e87924491..9fc657c26 100644 --- a/cli/flags.rs +++ b/cli/flags.rs @@ -916,7 +916,7 @@ fn compile_subcommand<'a, 'b>() -> App<'a, 'b> { .long("target") .help("Target OS architecture") .takes_value(true) - .possible_values(&["x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc", "x86_64-apple-darwin"]) + .possible_values(&["x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc", "x86_64-apple-darwin", "aarch64-apple-darwin"]) ) .arg( Arg::with_name("lite") @@ -943,7 +943,8 @@ The executable name is inferred by default: - If the resulting name has an '@...' suffix, strip it. This commands supports cross-compiling to different target architectures using `--target` flag. -On the first invocation with deno will download proper binary and cache it in $DENO_DIR. +On the first invocation with deno will download proper binary and cache it in $DENO_DIR. The +aarch64-apple-darwin target is not supported in canary. It is possible to use \"lite\" binaries when compiling by passing `--lite` flag; these are stripped down versions of the deno binary that do not contain built-in tooling (eg. formatter, linter). This feature is experimental. -- cgit v1.2.3