Add build constraints to wasm source files
Add constraints to the wasm's source files so they're only built for the js/wasm target.
This commit is contained in:
parent
2acf382f1f
commit
358a2c068d
|
@ -1,3 +1,5 @@
|
||||||
|
// +build js,wasm
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// +build js,wasm
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
Loading…
Reference in New Issue