mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
audio/vorbis/internal/stb: Bug fix: Forbid to use it from Wasm
This commit is contained in:
parent
f50875ff4b
commit
fe805d7fd1
@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build js !wasm
|
||||
// +build js,!wasm
|
||||
|
||||
package stb
|
||||
|
||||
|
@ -12,8 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build js !wasm
|
||||
|
||||
package stb
|
||||
|
||||
// stbvorbis.js
|
||||
@ -21,4 +19,4 @@ package stb
|
||||
// License: Apache License 2.0
|
||||
// Commit: ac1c2ee9d24eb6085eb1e968f55e0fb32cacc03a
|
||||
|
||||
//go:generate file2byteslice -package=stb -input=stbvorbis.js -output=stbvorbis.js.go -var=stbvorbis_js -buildtags "js !wasm"
|
||||
//go:generate file2byteslice -package=stb -input=stbvorbis.js -output=stbvorbis.js.go -var=stbvorbis_js -buildtags "js,!wasm"
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Code generated by file2byteslice. DO NOT EDIT.
|
||||
// (gofmt is fine after generating)
|
||||
|
||||
// +build js !wasm
|
||||
// +build js,!wasm
|
||||
|
||||
package stb
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user