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

Temporary fix for binaryen memory #1738

Merged
merged 5 commits into from
Aug 18, 2023
Merged

Conversation

Harrm
Copy link
Contributor

@Harrm Harrm commented Aug 16, 2023

Description of the Change

Force resize memory to initial size so that it hopefully doesn't get resized past binaryen's limits.

Temporary fix for #1714

Benefits

Kagome stops crashing at binaryen assert.

Possible Drawbacks

It's a crutch.

@Harrm Harrm self-assigned this Aug 16, 2023
@kamilsa kamilsa marked this pull request as ready for review August 18, 2023 05:52
@kamilsa kamilsa self-requested a review August 18, 2023 05:53
@kamilsa kamilsa requested a review from turuslan August 18, 2023 05:54
@kamilsa kamilsa enabled auto-merge (squash) August 18, 2023 05:57
Whitespace discrepancies found in memory_impl.cpp file were fixed to maintain code consistency and readability. Unnecessary whitespace after comments and function calls were removed, which does not impact functionality but syncs with established coding conventions."
@kamilsa kamilsa merged commit 55ecf8a into master Aug 18, 2023
@kamilsa kamilsa deleted the fix/binaryen-memory-allocation branch August 18, 2023 07:04
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.

3 participants