summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPig Fang <g-plane@hotmail.com>2021-01-27 12:33:51 +0800
committerGitHub <noreply@github.com>2021-01-27 13:33:51 +0900
commit5213bed533d061f3f09892b3131b3564cd2bc9cf (patch)
tree1cc913579e34cf53a699586f70f50779a9600cbb
parent798027a596a01829d95500bc8793a58404bf4bc2 (diff)
docs(tools/compiler): add docs for new features in 1.7 (#9258)
-rw-r--r--docs/tools/compiler.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/tools/compiler.md b/docs/tools/compiler.md
index f468a56c6..bd5a77e8f 100644
--- a/docs/tools/compiler.md
+++ b/docs/tools/compiler.md
@@ -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.