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

Add a native compile target for demos #1457

Merged
merged 1 commit into from
Aug 19, 2022
Merged

Conversation

paulcadman
Copy link
Collaborator

Add an option to compile a Juvix program to a native executable:

$ cd examples/milestone/HelloWorld
$ juvix compile -t native HelloWorld.juvix
$ ./HelloWorld
hello world!

This option is useful for demos because it does not depend on the Wasmer / Wasi environment.

@paulcadman paulcadman self-assigned this Aug 18, 2022
@paulcadman paulcadman added this to the 0.2.4 milestone Aug 18, 2022
Copy link
Collaborator

@jonaprieto jonaprieto left a comment

Choose a reason for hiding this comment

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

Tested and discussed in person.

@jonaprieto jonaprieto merged commit ea6191b into main Aug 19, 2022
@jonaprieto jonaprieto deleted the native-compile-target branch August 19, 2022 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants