mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 08:56:15 -06:00
add configurable for amd64 CPUs to allow forcing usage of the compiler
This commit is contained in:
parent
829143d263
commit
05ac6654a1
1 changed files with 2 additions and 1 deletions
|
|
@ -133,7 +133,8 @@ func compilerSupported() bool {
|
||||||
}
|
}
|
||||||
switch runtime.GOARCH {
|
switch runtime.GOARCH {
|
||||||
case "amd64":
|
case "amd64":
|
||||||
return cpu.X86.HasSSE41
|
return cpu.X86.HasSSE41 ||
|
||||||
|
os.Getenv("GTS_WAZERO_FORCE_COMPILER") != ""
|
||||||
case "arm64":
|
case "arm64":
|
||||||
return true
|
return true
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue