feature/featuretags: add CacheNetMap feature tag for upcoming work

(trying to get in smaller obvious chunks ahead of later PRs to make
them smaller)

Updates #17925

Change-Id: I184002001055790484e4792af8ffe2a9a2465b2e
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2025-11-18 17:39:37 -08:00
committed by Brad Fitzpatrick
parent 5b0c57f497
commit 408336a089
3 changed files with 30 additions and 0 deletions
@@ -0,0 +1,13 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
// Code generated by gen.go; DO NOT EDIT.
//go:build ts_omit_cachenetmap
package buildfeatures
// HasCacheNetMap is whether the binary was built with support for modular feature "Cache the netmap on disk between runs".
// Specifically, it's whether the binary was NOT built with the "ts_omit_cachenetmap" build tag.
// It's a const so it can be used for dead code elimination.
const HasCacheNetMap = false
@@ -0,0 +1,13 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
// Code generated by gen.go; DO NOT EDIT.
//go:build !ts_omit_cachenetmap
package buildfeatures
// HasCacheNetMap is whether the binary was built with support for modular feature "Cache the netmap on disk between runs".
// Specifically, it's whether the binary was NOT built with the "ts_omit_cachenetmap" build tag.
// It's a const so it can be used for dead code elimination.
const HasCacheNetMap = true