-
Notifications
You must be signed in to change notification settings - Fork 73
WAMR support clone
#317
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
WAMR support clone
#317
Conversation
@mpwarres PTAL |
b0f730c
to
209caa9
Compare
@PiotrSikora @mathetake Just a reminder, please take a look. I am looking forward to your comments. BTW, is there any update about the feature of supporting AOT files as a kind of pre-compiled .Wasm files? |
@mpwarres took over this codebase, so I'll let him review this PR.
Precompiled modules have been supported since day one. They are implemented for V8 and WAVM engines, but you need to add support for WAMR if you want, which should be pretty easy. Note that both of them currently load precompiled code from a Custom Section of |
Yup, looking at it today. |
@PiotrSikora Thanks for answering. Just to be sure we are on the same page that
|
209caa9
to
ba7f082
Compare
@lum1n0us correct. |
ba7f082
to
95546a9
Compare
@PiotrSikora Great! Then I think we might working on it and provide a patch to enable the feature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but could you also send a draft PR to Envoy updating WAMR and Proxy-Wasm C++ Host to your branch, so that it'd pass the tests there?
95546a9
to
c98c957
Compare
Here it is envoyproxy/envoy#24200. |
c98c957
to
1030984
Compare
It looks that it fails when running WAMR tests, e.g.:
Could you take a look? |
ae75695
to
df276e2
Compare
All fixed. envoyproxy/envoy#24200 😮💨 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple minor questions, just for my own understanding.
@PiotrSikora already looked at and signed off on these changes. I'll wait a day in case he wants to take a final look, but can otherwise merge them if he's done.
- Let WAMR support `CompiledBytecode` level of clone - upgrade to a WMAR newer commit(2022-11-09) Signed-off-by: [email protected] <[email protected]>
df276e2
to
87ca06c
Compare
@mathetake I know you are very busy, so I appreciate you can review the PR. Thanks very much. |
CompiledBytecode
level of clone