mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-28 01:56:30 +00: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()
|
|
}
|