mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-28 05:00:08 +00:00
feature/featuretags: add auto-generated constants for all modular features
So code (in upcoming PRs) can test for the build tags with consts and get dead code elimination from the compiler+linker. Updates #12614 Change-Id: If6160453ffd01b798f09894141e7631a93385941 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
082c6a25b0
commit
17ffa80138
@@ -30,7 +30,7 @@ func main() {
|
||||
|
||||
if *list {
|
||||
for _, f := range slices.Sorted(maps.Keys(features)) {
|
||||
fmt.Printf("%20s: %s\n", f, features[f])
|
||||
fmt.Printf("%20s: %s\n", f, features[f].Desc)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user