add LLGO_WASI_THREADS to toggle wasi threads support

This commit is contained in:
Li Jie
2025-04-09 18:12:46 +08:00
parent d4bf66936a
commit 0ef683bba9
3 changed files with 25 additions and 8 deletions

View File

@@ -75,7 +75,7 @@ func TestUseCrossCompileSDK(t *testing.T) {
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
export, err := UseCrossCompileSDK(tc.goos, tc.goarch)
export, err := UseCrossCompileSDK(tc.goos, tc.goarch, false)
if err != nil {
t.Fatalf("Unexpected error: %v", err)