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

Re-add create exe to Wasmer #2987

Closed
syrusakbary opened this issue Jun 29, 2022 · 0 comments · Fixed by #3038
Closed

Re-add create exe to Wasmer #2987

syrusakbary opened this issue Jun 29, 2022 · 0 comments · Fixed by #3038
Labels
create-exe priority-high High priority issue
Milestone

Comments

@syrusakbary
Copy link
Member

syrusakbary commented Jun 29, 2022

This is a follow up from #2916 (it's blocked by it).

We need to re-add create-exe to Wasmer.
Steps:

  1. Re-use the previous existing code (from C) to create the executable
  2. Create a new create-exe that uses Zig under the hood.
  3. Make zig on-create exe used with wax
  4. Include the virtual filesystem into the generated executable (python should work) - not required for Wasmer 3.0

Details for (2)

We need to Zig version of the C generated file, if zig is found in the system, we can use it by default, if not, we need to call a subprocess with wax zig.
Unknowns:

  1. linker might not work the same way

Details for (3)

We will include the virtual filesystem structure into Wasmer, so Python can be actually converted to a native executable

@syrusakbary syrusakbary added this to the v3.0 milestone Jun 29, 2022
@syrusakbary syrusakbary added the priority-high High priority issue label Jul 5, 2022
@epilys epilys linked a pull request Jul 16, 2022 that will close this issue
1 task
@epilys epilys linked a pull request Jul 27, 2022 that will close this issue
@bors bors bot closed this as completed in #3038 Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
create-exe priority-high High priority issue
Projects
None yet
1 participant