Skip to content

Conversation

@melizalde-ds
Copy link
Contributor

Summary

This change ensures that the output directory exists before writing the file, preventing potential runtime errors if the directory is missing.

Changes

  • Added output directory creation using fs::create_dir_all before writing to output_path.

Related Issues

Fixes #162

Copy link
Collaborator

@dicej dicej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dicej dicej merged commit be14b85 into bytecodealliance:main Feb 5, 2026
4 checks passed
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 output directory if it doesn't exist

2 participants