Skip to content

Don't fail to print known custom sections #2264

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

Merged
merged 1 commit into from
Jul 28, 2025

Conversation

alexcrichton
Copy link
Member

This commit updates the wasm-tools print subcommand to print raw custom sections for some "known" custom sections if there is not printer registered for it. For example the linking and reloc.CODE custom sections are "known" but have no text format. Previously they would fail to print but now they will print the raw bytes.

This commit updates the `wasm-tools print` subcommand to print raw
custom sections for some "known" custom sections if there is not printer
registered for it. For example the `linking` and `reloc.CODE` custom
sections are "known" but have no text format. Previously they would fail
to print but now they will print the raw bytes.
@alexcrichton alexcrichton requested a review from a team as a code owner July 28, 2025 14:31
@alexcrichton alexcrichton requested review from abrown and removed request for a team July 28, 2025 14:31
@pchickey pchickey added this pull request to the merge queue Jul 28, 2025
Merged via the queue into bytecodealliance:main with commit f06c721 Jul 28, 2025
34 checks passed
@alexcrichton alexcrichton deleted the print-known branch July 28, 2025 17:02
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