Skip to content

Commit

Permalink
fix(tools): add js/wasm build tag to resolve syscall/js importing e…
Browse files Browse the repository at this point in the history
…rror (#1268)

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
  • Loading branch information
aofei authored Jan 24, 2025
1 parent 7bbde51 commit 0575660
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/ispx/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build js && wasm

package main

//go:generate qexp -outdir pkg github.com/goplus/spx
Expand Down
2 changes: 2 additions & 0 deletions tools/spxls/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build js && wasm

package main

import (
Expand Down

0 comments on commit 0575660

Please sign in to comment.