all: sunset CUE_EXPERIMENT=modules
The experiment was introduced in late 2023, and enabled by default
in v0.9.0 released in June 2024. Given that there were no more known
regressions or issues with the new modules implementation,
v0.11.0 was released in November 2024 with CUE_EXPERIMENT=modules=0
being deprecated and no longer allowed.
The upcoming v0.12 release can then remove all the code supporting
the modules experiment, as we can now start assuming that the new
modules implementation will always be used.
This first change removes all direct uses of the experiment flag.
A follow-up change will do some cleanups in cue/load.
We don't remove the flag definition itself yet, as lots of CUE users
were (and still may be) setting CUE_EXPERIMENT=modules,
so there's no hurry to break them. Moreover, using tools like
`git bisect` is easier if the same env var can be used across a wider
range of CUE versions.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I4083977be6433b91a17a66705ac28749d262a14e
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1205858
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>