| 1 | // Copyright 2024 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package crashmonitor |
| 6 | |
| 7 | import ic "golang.org/x/telemetry/internal/crashmonitor" |
| 8 | |
| 9 | // Supported reports whether the runtime supports [runtime.SetCrashOutput]. |
| 10 | // |
| 11 | // TODO(adonovan): eliminate once go1.23+ is assured. |
| 12 | func Supported() bool { return ic.Supported() } |