mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 04:35:19 +08:00
Delve does not run under Rosetta. Detect this condition and point confused users towards the solution.
10 lines
175 B
Go
10 lines
175 B
Go
// +build !darwin
|
|
|
|
package macutil
|
|
|
|
// CheckRosetta returns an error if the calling process is being translated
|
|
// by Apple Rosetta.
|
|
func CheckRosetta() error {
|
|
return nil
|
|
}
|