
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
|
|
}
|