diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-01-19 20:03:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 20:03:50 +0100 |
commit | 0e8e6d7251c34e8cd961e0fae9b0ff7d2ff00a58 (patch) | |
tree | 6ed4704434e80fd83f9a9a33dd073068d5a0929e /cli/flags.rs | |
parent | 16036a8a5170030a95a56b28b29b1b355d0d0f80 (diff) |
chore: add compile aarch64-apple-darwin target (#9174)
Diffstat (limited to 'cli/flags.rs')
-rw-r--r-- | cli/flags.rs | 5 |
1 files 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. |