Skip to content
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: Add dcore bin target #525

Merged
merged 2 commits into from
Jan 31, 2024
Merged

Conversation

bartlomieju
Copy link
Member

This commit adds minimal binary target to "deno_core" crate.

It is now possible to "cargo run ./path/to/file.ts" to execute a file.
This feature is being added for development and testing purposes only
and is not meant for end-users. The API is minimal and the binary can't
do anything interesting.

"fs_module_loader" example has been removed in favor of binary target.

Closes #412
Once #415 lands we can extend functionality further.

Copy link
Contributor

@mmastrac mmastrac 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 changed the title feat: Add deno_core bin target feat: Add dcore bin target Jan 31, 2024
@bartlomieju bartlomieju enabled auto-merge (squash) January 31, 2024 01:42
@bartlomieju bartlomieju merged commit 7d06ae9 into denoland:main Jan 31, 2024
13 checks passed
@bartlomieju bartlomieju deleted the bin_target branch January 31, 2024 02:05
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.

Consider adding "bin" target
2 participants