-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Standalone lite binaries and cross compilation #9141
feat: Standalone lite binaries and cross compilation #9141
Conversation
There was a problem hiding this 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 :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This commit adds
--target
and--lite
flags todeno compile
subcommand.--target
allows to cross-compile binary to different target architectures byfetching 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 containbuilt-in tooling like formatter or linter).