Skip to content

Comments

script/runtime: add Go 1.26 testDeps ModulePath#410

Merged
verdverm merged 1 commit intohofstadter-io:_nextfrom
chenrui333:go1.26-testdeps-modulepath
Dec 27, 2025
Merged

script/runtime: add Go 1.26 testDeps ModulePath#410
verdverm merged 1 commit intohofstadter-io:_nextfrom
chenrui333:go1.26-testdeps-modulepath

Conversation

@chenrui333
Copy link
Contributor

@chenrui333 chenrui333 commented Dec 26, 2025

seeing the build failure against go1.26rc1

==> go build -trimpath -o=/opt/homebrew/Cellar/hof/HEAD-1613a4e/bin/hof -ldflags=-s -w -X github.com/hofstadter-io/hof/cmd/hof/verinfo.Version=HEAD-1613a4e -X github.com/hofstadter-io/hof/cmd/hof/verinfo.Commit=Homebrew -X github.com/hofstadter-io/hof/cmd/hof/verinfo.BuildDate=2024-12-31T22:09:53Z -X github.com/hofstadter-io/hof/cmd/hof/verinfo.GoVersion=1.26rc1 -X github.com/hofstadter-io/hof/cmd/hof/verinfo.BuildOS=darwin -X github.com/hofstadter-io/hof/cmd/hof/verinfo.BuildArch=arm64 ./cmd/hof
# github.com/hofstadter-io/hof/script/runtime
script/runtime/exe_next.go:52:26: cannot use nopTestDeps{} (value of struct type nopTestDeps) as testing.testDeps value in argument to testing.MainStart: nopTestDeps does not implement testing.testDeps (missing method ModulePath)

relates to

Signed-off-by: Rui Chen <rui@chenrui.dev>
@chenrui333 chenrui333 force-pushed the go1.26-testdeps-modulepath branch from 7d03897 to 9228c8c Compare December 26, 2025 23:34
@verdverm
Copy link
Member

thanks for being out in front of this @chenrui333

@verdverm verdverm merged commit 88617ff into hofstadter-io:_next Dec 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants