mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-30 04:48:18 +03:00
1e7b32490d
This allows for building GoToSocial with [SQLite transpiled to WASM](https://github.com/ncruces/go-sqlite3) and accessed through [Wazero](https://wazero.io/).
8 lines
228 B
Go
8 lines
228 B
Go
// This is the opposite constraint of config_supported.go
|
|
//go:build !(amd64 || arm64) || !(darwin || linux || freebsd || windows)
|
|
|
|
package wazero
|
|
|
|
func newRuntimeConfig() RuntimeConfig {
|
|
return NewRuntimeConfigInterpreter()
|
|
}
|