Skip to content

Commit 94d537c

Browse files
Update GOEXPERIMENT to use jsonv2 by default
Signed-off-by: techknowlogick <techknowlogick@gitea.com>
1 parent ba43047 commit 94d537c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ DIST := dist
1818
DIST_DIRS := $(DIST)/binaries $(DIST)/release
1919
IMPORT := code.gitea.io/gitea
2020

21-
# No experiment set by default, but you can set jsonv2 to use go 1.25.0 json v2 experimental changes
22-
export GOEXPERIMENT ?=
21+
# By default use go's 1.25 experimental json v2 library when building
22+
# TODO: remove when no longer experimental
23+
export GOEXPERIMENT ?= jsonv2
2324

2425
GO ?= go
2526
SHASUM ?= shasum -a 256

0 commit comments

Comments
 (0)