Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,10 @@ being generated.

See [wasm2c.md](wasm2c/README.md)

## Running WABT tools

WABT tools do not create directories when they don't exist in path passed to `-o`.

## Running the test suite

See [test/README.md](test/README.md).
Expand Down
2 changes: 1 addition & 1 deletion src/stream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Result OutputBuffer::WriteToFile(std::string_view filename) const {
std::string filename_str(filename);
FILE* file = fopen(filename_str.c_str(), "wb");
if (!file) {
ERROR("unable to open %s for writing\n", filename_str.c_str());
ERROR("unable to open %s for writing: Directory in path passed to -o doesn't exist\n", filename_str.c_str());
return Result::Error;
}

Expand Down
Loading