mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-13 04:51:13 +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/).
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()
|
|
}
|