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

Support plugins with imported functions #881

Merged
merged 4 commits into from
Jan 22, 2025

Conversation

jeffcharles
Copy link
Collaborator

Description of the change

Updates the linker configuration when generating QuickJS bytecode to stub out unknown imports with traps.

Also updates the test plugin to have an imported function and updates the test runner to also stub out unknown imports with traps when executing the test cases.

Why am I making this change?

Fixes #878.

Checklist

  • I've updated the relevant CHANGELOG files if necessary. Changes to javy-cli and javy-plugin do not require updating CHANGELOG files.
  • I've updated the relevant crate versions if necessary. Versioning policy for library crates
  • I've updated documentation including crate documentation if necessary.

@jeffcharles
Copy link
Collaborator Author

Sorry for the noise on this. For some reason, the test suite appears to be pass locally when I run it.

@jeffcharles
Copy link
Collaborator Author

Looks like all checks on GitHub Actions are passing now.

@jeffcharles jeffcharles merged commit 3a08b45 into main Jan 22, 2025
4 checks passed
@jeffcharles jeffcharles deleted the jc.support-plugins-with-hostcalls branch January 22, 2025 15:56
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.

WASM runtime host function calls
2 participants