Skip to content

Read data from the beginning of the StringCacheEntry struct#34

Merged
anderslanglands merged 1 commit intoanderslanglands:masterfrom
bouk:bouk/alignment
Jun 11, 2023
Merged

Read data from the beginning of the StringCacheEntry struct#34
anderslanglands merged 1 commit intoanderslanglands:masterfrom
bouk:bouk/alignment

Conversation

@bouk
Copy link
Copy Markdown
Contributor

@bouk bouk commented Feb 9, 2023

This is to resolve 0 length on architectures where size_of<usize> != size_of<u64>, which causes padding to be added so the struct is aligned.

Fixes #33

cc @QuinnWilton @anderslanglands

This is to resolve 0 length on architectures where size_of<usize> !=
size_of<u64>, which causes padding to be added so the struct is aligned.

Fixes anderslanglands#33
@anderslanglands
Copy link
Copy Markdown
Owner

Thanks for the fix!

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.

Symbols always resolve to an empty str on wasm32-unknown-unknown

2 participants