mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
docs(tools/compiler): add docs for new features in 1.7 (#9258)
This commit is contained in:
parent
798027a596
commit
5213bed533
1 changed files with 9 additions and 1 deletions
|
@ -33,4 +33,12 @@ can be partially embedded.
|
|||
|
||||
### Cross Compilation
|
||||
|
||||
Cross compiling binaries for different platforms is not currently possible.
|
||||
You can use cross compilation by adding `--target` CLI argument, benefiting that
|
||||
you can create binaries for other platforms in single CI machine. Deno supports
|
||||
compiling to Windows x64, macOS x64, macOS ARM and Linux x64 currently. Use
|
||||
`deno compile --help` to get the full list about compilation targets.
|
||||
|
||||
### Generating smaller binaries
|
||||
|
||||
Once `--lite` argument is passed, `deno compile` will use a slimmed-down
|
||||
runtime-only binary.
|
||||
|
|
Loading…
Reference in a new issue