Skip to content

Commit 022de6b

Browse files
rhyshgopherbot
authored andcommitted
trace: update gen.bash for Go 1.24
As of CL 593975, the testdata debugging tools are part of cmd/trace. Change-Id: I5811462055869cefb80a8586f16031e0257d8ee8 Reviewed-on: https://go-review.googlesource.com/c/exp/+/669255 Reviewed-by: Carlos Amedee <[email protected]> Auto-Submit: Rhys Hiltner <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Cherry Mui <[email protected]>
1 parent 6202f9c commit 022de6b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

trace/gen.bash

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ mv $DST/event $DST/internal/event
7070
mv $DST/version $DST/internal/version
7171
mv $DST/testtrace $DST/internal/testtrace
7272

73-
# Move the debug commands out of testdata.
74-
mv $DST/testdata/cmd $DST/cmd
75-
7673
# Fix up import paths.
7774
find $DST -name '*.go' | xargs -- sed -i'.tmp' -e 's internal/trace golang.org/x/exp/trace '
7875
find $DST -name '*.go' | xargs -- sed -i'.tmp' -e 's golang.org/x/exp/trace/raw golang.org/x/exp/trace/internal/raw '
@@ -87,7 +84,7 @@ find $DST -name '*.go' | xargs -- sed -i'.tmp' -e '/LICENSE file./a \
8784
\
8885
// Code generated by "gen.bash" from internal/trace; DO NOT EDIT.\
8986
\
90-
//go:build go1.21'
87+
//go:build go1.23'
9188

9289
# Format the files.
9390
find $DST -name '*.go' | xargs -- gofmt -w -s

0 commit comments

Comments
 (0)