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

fix wasm bloat #2

Merged
merged 1 commit into from
Jul 22, 2022
Merged

fix wasm bloat #2

merged 1 commit into from
Jul 22, 2022

Conversation

ClaytonCalabrese
Copy link

@ClaytonCalabrese ClaytonCalabrese commented Jul 19, 2022

Merge back EOSIO/eosio.cdt#1203
The WASM file generated by CDT 1.8.x is far larger than that by CDT 1.7. This PR fixes lld issue that causes the size bloating.
Github issue: EOSIO/eosio.cdt#1175

Original PR: EOSIO#14
part of eosnetworkfoundation/mandel.cdt#38

Did some testing with cdt. The simple_tests.wasm for 1_7 is 102KB, 1_8_1 is 52KB, 1_8_1 with this fix is 20KB

@ClaytonCalabrese ClaytonCalabrese self-assigned this Jul 19, 2022
@ClaytonCalabrese ClaytonCalabrese merged commit 090c50b into master Jul 22, 2022
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