Fix 386 cross compile and wasm build for crawshaw
This commit is contained in:
parent
5a61d8f6ac
commit
7979d7ef96
|
@ -1,7 +1,8 @@
|
|||
// Bolt piece completion is available, and sqlite is not.
|
||||
//go:build !noboltdb && (!cgo || nosqlite)
|
||||
//go:build !noboltdb && (!cgo || nosqlite) && !wasm
|
||||
// +build !noboltdb
|
||||
// +build !cgo nosqlite
|
||||
// +build !wasm
|
||||
|
||||
package storage
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Bolt piece completion is not available, and neither is sqlite.
|
||||
//go:build (!cgo || nosqlite) && noboltdb
|
||||
//go:build (!cgo || nosqlite) && (noboltdb || wasm)
|
||||
// +build !cgo nosqlite
|
||||
// +build noboltdb
|
||||
// +build noboltdb wasm
|
||||
|
||||
package storage
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// modernc.org/sqlite depends on modernc.org/libc which doesn't work for JS (and probably wasm but I
|
||||
// think JS is the stronger signal).
|
||||
|
||||
//go:build cgo && !nosqlite
|
||||
// +build cgo,!nosqlite
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
//go:build cgo
|
||||
// +build cgo
|
||||
|
||||
package sqliteStorage
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
//go:build cgo
|
||||
// +build cgo
|
||||
|
||||
package sqliteStorage
|
||||
|
||||
import (
|
||||
|
|
Loading…
Reference in New Issue