1
0
Fork 0
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:
Pig Fang 2021-01-27 12:33:51 +08:00 committed by GitHub
parent 798027a596
commit 5213bed533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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