0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

chore: add compile aarch64-apple-darwin target (#9174)

This commit is contained in:
Luca Casonato 2021-01-19 20:03:50 +01:00 committed by GitHub
parent 16036a8a51
commit 0e8e6d7251
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.