]> Cypherpunks repositories - gostls13.git/commitdiff
internal/goexperiment: remove the synctest GOEXPERIMENT
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Mon, 6 Oct 2025 18:54:27 +0000 (20:54 +0200)
committerMateusz Poliwczak <mpoliwczak34@gmail.com>
Tue, 7 Oct 2025 06:51:07 +0000 (23:51 -0700)
synctest package is enabled by default and the synctest
goexperiment does nothing after CL 709355.

Change-Id: Ia96b070d5f3779ae7c38a9044f754e716a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/709555
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/internal/goexperiment/exp_synctest_off.go [deleted file]
src/internal/goexperiment/exp_synctest_on.go [deleted file]
src/internal/goexperiment/flags.go

diff --git a/src/internal/goexperiment/exp_synctest_off.go b/src/internal/goexperiment/exp_synctest_off.go
deleted file mode 100644 (file)
index fade13f..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-// Code generated by mkconsts.go. DO NOT EDIT.
-
-//go:build !goexperiment.synctest
-
-package goexperiment
-
-const Synctest = false
-const SynctestInt = 0
diff --git a/src/internal/goexperiment/exp_synctest_on.go b/src/internal/goexperiment/exp_synctest_on.go
deleted file mode 100644 (file)
index 9c44be7..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-// Code generated by mkconsts.go. DO NOT EDIT.
-
-//go:build goexperiment.synctest
-
-package goexperiment
-
-const Synctest = true
-const SynctestInt = 1
index 232a17135d2cc5347ba7adcf3a8a05bfe09609ec..07aa1d0aeed15d63b38286244fd9660b1dcb1fa2 100644 (file)
@@ -100,9 +100,6 @@ type Flags struct {
        // inlining phase within the Go compiler.
        NewInliner bool
 
-       // Synctest enables the testing/synctest package.
-       Synctest bool
-
        // Dwarf5 enables DWARF version 5 debug info generation.
        Dwarf5 bool