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

Jm/js module linking #98

Merged
merged 4 commits into from
May 3, 2023
Merged

Jm/js module linking #98

merged 4 commits into from
May 3, 2023

Conversation

jimmyaxod
Copy link
Contributor

This adds an extra option to jsbuilder - providing the source from the host.
This also allows for module linking etc.
There are two imported functions
get_source_len -> i32
get_source(ptr: i32) -> i32 (Should return 1 if the source is gzipped, else 0).

Signed-off-by: Jimmy Moore <jamesmoore@loopholelabs.io>
Signed-off-by: Jimmy Moore <jamesmoore@loopholelabs.io>
Signed-off-by: Jimmy Moore <jamesmoore@loopholelabs.io>
Signed-off-by: Jimmy Moore <jamesmoore@loopholelabs.io>
Copy link
Contributor

@SuperManifolds SuperManifolds left a comment

Choose a reason for hiding this comment

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

LGTM

@jimmyaxod jimmyaxod merged commit 5a81d45 into staging May 3, 2023
@jimmyaxod jimmyaxod deleted the jm/js-module-linking branch July 5, 2023 13:16
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.

2 participants