Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

wasm: use values extracted from Emscripten metadata. #29

Merged
merged 4 commits into from
Jun 4, 2019

Conversation

PiotrSikora
Copy link
Contributor

@PiotrSikora PiotrSikora commented May 31, 2019

This allows us to use more recent versions of Emscripten.

Fixes #32.

Signed-off-by: Piotr Sikora [email protected]

This allows us to use more recent versions of Emscripten.

Signed-off-by: Piotr Sikora <[email protected]>
@PiotrSikora PiotrSikora requested a review from jplevyak May 31, 2019 04:03
Signed-off-by: Piotr Sikora <[email protected]>
if (is_emscripten_) {
if (emscripten_abi_major_version_ > 0 || emscripten_abi_minor_version_ > 1) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you want to check the precise version and then fail to load the module if it isn't one of the know versions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't, because then we'd stop loading working WASM modules (e.g. neither change to ABI 0.1 nor 0.3 required any changes in Envoy-WASM)... unless you feel strongly about it?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm OK with it this way.

@PiotrSikora PiotrSikora merged commit 3bcb179 into envoyproxy:master Jun 4, 2019
yxue pushed a commit to yxue/envoy-wasm that referenced this pull request Oct 8, 2019
…roxy#29)

* Add Exception handling and test for divide by zero exception.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compile with protobuf full does not work with V8
2 participants