WASI now support filesystem

This commit is contained in:
Miodrag Milanovic 2026-06-05 09:18:00 +02:00
parent d7093743b8
commit 5f2456ac03
2 changed files with 0 additions and 10 deletions

View File

@ -4621,11 +4621,7 @@ struct ReadPass : public Pass {
if (use_verific) {
args[0] = "verific";
} else {
#if !defined(__wasm)
args[0] = "read_verilog_file_list";
#else
cmd_error(args, 1, "Command files are not supported on this platform.\n");
#endif
}
Pass::call(design, args);
return;

View File

@ -26,9 +26,7 @@
*
*/
#if !defined(__wasm)
#include <filesystem>
#endif
#include "verilog_frontend.h"
#include "verilog_lexer.h"
@ -709,8 +707,6 @@ struct VerilogDefines : public Pass {
}
} VerilogDefines;
#if !defined(__wasm)
static void parse_file_list(const std::string &file_list_path, RTLIL::Design *design, bool relative_to_file_list_path)
{
std::ifstream flist(file_list_path);
@ -790,6 +786,4 @@ struct VerilogFileList : public Pass {
}
} VerilogFilelist;
#endif
YOSYS_NAMESPACE_END