Skip to content

Fix includes of WIT source files to be bytes#838

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:fix-include
Feb 13, 2024
Merged

Fix includes of WIT source files to be bytes#838
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:fix-include

Conversation

@alexcrichton
Copy link
Copy Markdown
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
@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