forked from decred/dcrwallet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug.go
More file actions
17 lines (13 loc) · 653 Bytes
/
Copy pathdebug.go
File metadata and controls
17 lines (13 loc) · 653 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2024-2025 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
// We use a build tag to change the default GODEBUG value to the latest Go
// release, rather than setting this default in the go.mod for two reasons:
//
// 1. Our go.mod specifies at most the previous supported Go version as a
// minimum, and the latest Go toolchain's default GODEBUG cannot be specified
// without breaking builds with the older toolchains.
// 2. If a go.work is used, the godebug directives in go.mod will be ignored.
//go:build go1.25
//go:debug default=go1.25
package main