-
Notifications
You must be signed in to change notification settings - Fork 726
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
Fix broken version check on metadata section #841
Conversation
@@ -1459,7 +1459,7 @@ Result BinaryReader::ReadLinkingSection(Offset section_size) { | |||
CALLBACK(BeginLinkingSection, section_size); | |||
uint32_t version; | |||
CHECK_RESULT(ReadU32Leb128(&version, "version")); | |||
ERROR_UNLESS(version = 1, "invalid linking metadata version"); | |||
ERROR_UNLESS(version == 1, "invalid linking metadata version: %u", version); |
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.
brutal!
Howdy! This exposes an error when using WASM generated by Rust:
Is there a flag I should be using for this? We are using
|
Perhaps related to the discussion in #838 |
Yes, you may be able to use |
Hmm, the flag doesn't seem to take effect; perhaps I'm doing something wrong?
|
Moved discussion to #842. |
No description provided.