summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.