WIP: WASM port - switch to ncruces/go-sqlite3, add WASM stubs
- Switched from modernc.org/sqlite to ncruces/go-sqlite3 for WASM support - Added WASM-specific stubs for daemon process management - Created wasm/ directory with build.sh and Node.js runner - WASM build succeeds (32MB bd.wasm) - Node.js can load and execute the WASM module - Next: Need to bridge Go file I/O to Node.js fs module Related: bd-44d0, bd-8534, bd-c7eb
This commit is contained in:
@@ -8,7 +8,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/steveyegge/beads/internal/types"
|
||||
_ "modernc.org/sqlite"
|
||||
_ "github.com/ncruces/go-sqlite3/driver"
|
||||
_ "github.com/ncruces/go-sqlite3/embed"
|
||||
)
|
||||
|
||||
func setupTestDB(t *testing.T) (*SQLiteStorage, func()) {
|
||||
|
||||
Reference in New Issue
Block a user