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

Allow entry_point in WASM compile #1025

Closed
kobyhallx opened this issue Mar 22, 2023 · 1 comment · Fixed by #1026
Closed

Allow entry_point in WASM compile #1025

kobyhallx opened this issue Mar 22, 2023 · 1 comment · Fixed by #1026
Labels
enhancement New feature or request

Comments

@kobyhallx
Copy link
Contributor

Problem

As a Developer
I would like to specify entry_point as a compilation option
so that the default noir-source-resolver could be used on NodeJS

Proposed solution

Allow entry_point parameter to compilation options.

Alternatives considered

Relying on specifying source resolver each time allows resolving sources from different locations.

Additional context

No response

@kobyhallx kobyhallx added the enhancement New feature or request label Mar 22, 2023
@jfecher
Copy link
Contributor

jfecher commented Mar 23, 2023

We could also consider a #[entry_point] directive to specify this in the source code if applicable.
Or if naming is the issue, we could consider automatically renaming main based on the backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants