defeat Hyrum's Law for experimental features
The way we do this for CMake is that there is a variable which needs to be set to a specified value (a randomly generated UUID) for the experiment to become "active" (and its first usage will trigger a warning about it becoming active). If the value is not correct, the feature is ignored. We then change the expected value whenever we update the behavior. With that, projects can't use the "but the value worked last time!" excuse.
https://lwn.net/Articles/1103020/ https://lwn.net/Articles/1103020/
Page Links
No links