mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-12 01:50:41 +01: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/).
9 lines
228 B
Go
9 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()
|
|
}
|