feat: support compiling to wasm32-unknown-unknown
This commit is contained in:
parent
46ea65c89b
commit
22553b3372
20 changed files with 787 additions and 12 deletions
|
|
@ -146,7 +146,7 @@ void ts_tree_print_dot_graph(const TSTree *self, int fd) {
|
|||
fclose(file);
|
||||
}
|
||||
|
||||
#elif !defined(__wasi__) // WASI doesn't support dup
|
||||
#elif !defined(__wasm__) // Wasm doesn't support dup
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue