fix: typo
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
//go:build !wasm && !baremental
|
//go:build !wasm && !baremetal
|
||||||
|
|
||||||
package debug
|
package debug
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build baremental
|
//go:build baremetal
|
||||||
|
|
||||||
package debug
|
package debug
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build linux && !baremental
|
//go:build linux && !baremetal
|
||||||
|
|
||||||
package debug
|
package debug
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build baremental
|
//go:build baremetal
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved.
|
* Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build !darwin && !baremental
|
//go:build !darwin && !baremetal
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved.
|
* Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build baremental
|
//go:build baremetal
|
||||||
|
|
||||||
package unix
|
package unix
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build baremental
|
//go:build baremetal
|
||||||
|
|
||||||
package runtime
|
package runtime
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build !baremental
|
//go:build !baremetal
|
||||||
|
|
||||||
package runtime
|
package runtime
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build baremental
|
//go:build baremetal
|
||||||
|
|
||||||
package runtime
|
package runtime
|
||||||
|
|
||||||
@@ -6,8 +6,8 @@ import c "github.com/goplus/llgo/runtime/internal/clite"
|
|||||||
|
|
||||||
// Rethrow rethrows a panic.
|
// Rethrow rethrows a panic.
|
||||||
func Rethrow(link *Defer) {
|
func Rethrow(link *Defer) {
|
||||||
// in baremental environment, we cannot get debug data from pthread_getspecific
|
// in baremetal environment, we cannot get debug data from pthread_getspecific
|
||||||
// most of baremental implement of pthread_getspecific returns empty result
|
// most of baremetal implement of pthread_getspecific returns empty result
|
||||||
c.Printf(c.Str("fatal error\n"))
|
c.Printf(c.Str("fatal error\n"))
|
||||||
c.Exit(2)
|
c.Exit(2)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build !baremental
|
//go:build !baremetal
|
||||||
|
|
||||||
package runtime
|
package runtime
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user