mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 07:36:16 -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 {
|
||||
case "amd64":
|
||||
return cpu.X86.HasSSE41
|
||||
return cpu.X86.HasSSE41 ||
|
||||
os.Getenv("GTS_WAZERO_FORCE_COMPILER") != ""
|
||||
case "arm64":
|
||||
return true
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue