mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-09-10 06:29:32 +00:00
compiler: fix 64-bit sin and cos on AVR
This commit is contained in:
+4
-4
@@ -370,10 +370,6 @@ func runPlatTests(options compileopts.Options, tests []string, t *testing.T) {
|
||||
// Too big for AVR. Doesn't fit in flash/RAM.
|
||||
continue
|
||||
|
||||
case "math.go":
|
||||
// LLVM fails to lower one of the required library calls.
|
||||
continue
|
||||
|
||||
case "cgo/":
|
||||
// CGo function pointers don't work on AVR (needs LLVM 16 and
|
||||
// some compiler changes).
|
||||
@@ -432,6 +428,10 @@ func runPlatTests(options compileopts.Options, tests []string, t *testing.T) {
|
||||
if name == "finalizerinvariants.go" || name == "finalizerlarge.go" {
|
||||
testOptions.Tags = append(append([]string(nil), options.Tags...), "runtime_asserts")
|
||||
}
|
||||
if testOptions.Target == "simavr" && name == "math.go" {
|
||||
// This test exceeds simavr's default 384-byte goroutine stack.
|
||||
testOptions.StackSize = 512
|
||||
}
|
||||
runTest(name, testOptions, t, nil, nil)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user