Skip to content

Conversation

@bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented Jan 17, 2021

This commit adds --target and --lite flags to deno compile subcommand.

--target allows to cross-compile binary to different target architectures by
fetching appropriate binary from remote server on first run. All downloaded
binaries are stored in "$DENO_DIR/dl".

--lite allows to use lite version of the runtime (ie. the one that doesn't contain
built-in tooling like formatter or linter).

@lucacasonato lucacasonato added this to the 1.7.0 milestone Jan 17, 2021
@bartlomieju bartlomieju mentioned this pull request Jan 17, 2021
22 tasks
@bartlomieju bartlomieju changed the title [WIP] feat: Standalone lite binaries and cross compilation feat: Standalone lite binaries and cross compilation Jan 18, 2021
Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - great feature to have. I am somewhat concerned about this root certificate thing, but lets cross that bridge once someone reports it as an issue :-)

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bartlomieju bartlomieju merged commit 9ff468d into denoland:master Jan 19, 2021
@bartlomieju bartlomieju deleted the standalone_lite_binaries branch January 19, 2021 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants