-
Notifications
You must be signed in to change notification settings - Fork 824
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
Ability to combine two import objects #258
Comments
@lachlansneff What would you think about representing imports object during instantiation with something like the following? If there were duplicate |
I want to apologize for my somewhat curt issue description. I was just a bit disappointed that my PR was not going to get merged. But I don't have the same insight into the project, so it's very understandable if there's another solution in mind. (It's your project after all. 😁) To illustrate the functionality I'm looking for, it might help to show my usage: https://github.com/tprk77/experiments_in_ros2_rust_and_wasm Specifically, these lines: I have two versions of the same "app," one in Rust and one in C++. I want to expose the same API imports to both. But to get the C++ app working, I also need the Emscripten imports. ( The actual mechanism doesn't really matter to me, but it would be nice if I could still use the |
@tprk77, we're really sorry about not being responsive enough with your other issue. Things have been quite busy here. I'll make sure to take a look at this pr tomorrow morning. |
I just updated my project to use the new |
That's great! We're glad to hear that. Thanks for your PR by the way, it helped me get adjusted to the Wasmer code base! Best of luck with your project and let us know if there's anything we can do for you to make using Wasmer better! |
Motivation
I should be able to combine two import objects from different origins. For example, I should be able to mix my own functions into the Emscripten import object.
Proposed solution
See also PR #190.
The text was updated successfully, but these errors were encountered: