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 includes of WIT source files to be bytes #838

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

alexcrichton
Copy link
Member

Instead of using include_str! use include_bytes! since the inputs may now be in the wasm binary format instead of source file in utf-8.

Instead of using `include_str!` use `include_bytes!` since the inputs
may now be in the wasm binary format instead of source file in utf-8.
@alexcrichton alexcrichton merged commit 1f4ab0f into bytecodealliance:main Feb 13, 2024
9 checks passed
@alexcrichton alexcrichton deleted the fix-include branch February 13, 2024 23:50
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.

2 participants