Skip to content

Include error information on error opening output file#2741

Closed
guest271314 wants to merge 3 commits intoWebAssembly:mainfrom
guest271314:guest271314-patch-1
Closed

Include error information on error opening output file#2741
guest271314 wants to merge 3 commits intoWebAssembly:mainfrom
guest271314:guest271314-patch-1

Conversation

@guest271314
Copy link
Copy Markdown

Fixes #2740

@guest271314
Copy link
Copy Markdown
Author

@sbc100 Want to take a look at this; make edits, etc. I don't think the linter likes this string adjacent to string pattern

 ERROR("unable to open %s for writing: WABT tools do not create directories\n"
      "when they don't exist in path passed to -o\n", filename_str.c_str());

@sbc100
Copy link
Copy Markdown
Member

sbc100 commented Apr 13, 2026

Perhaps update the PR description to be "Include error information on error opening output file"

@guest271314 guest271314 changed the title WABT tools do not create directories that don't exist in path passed to -o Include error information on error opening output file Apr 14, 2026
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.

Create directory if it doesn't exist in path passed to -o?

2 participants