Skip to content

Commit 9228c8c

Browse files
committed
script/runtime: add Go 1.26 testDeps ModulePath
Signed-off-by: Rui Chen <rui@chenrui.dev>
1 parent bb95c6c commit 9228c8c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

script/runtime/exe_go126.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Copyright 2018 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+
//go:build go1.26
6+
7+
package runtime
8+
9+
// ModulePath was added to testing.testDeps in Go 1.26.
10+
func (nopTestDeps) ModulePath() string { return "" }

0 commit comments

Comments
 (0)