fix: typo

This commit is contained in:
Haolan
2025-09-05 16:55:38 +08:00
parent 0d02a7273e
commit e444c4b6ac
10 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
//go:build baremental
//go:build baremetal
package runtime
@@ -6,8 +6,8 @@ import c "github.com/goplus/llgo/runtime/internal/clite"
// Rethrow rethrows a panic.
func Rethrow(link *Defer) {
// in baremental environment, we cannot get debug data from pthread_getspecific
// most of baremental implement of pthread_getspecific returns empty result
// in baremetal environment, we cannot get debug data from pthread_getspecific
// most of baremetal implement of pthread_getspecific returns empty result
c.Printf(c.Str("fatal error\n"))
c.Exit(2)
}

View File

@@ -1,4 +1,4 @@
//go:build !baremental
//go:build !baremetal
package runtime