all: adjust some build tags for wasi

A start.

Updates #8320

Change-Id: I64057f977be51ba63ce635c56d67de7ecec415d1
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2023-06-11 08:02:52 -07:00
committed by Brad Fitzpatrick
parent 63b1a4e35d
commit 67e912824a
11 changed files with 18 additions and 9 deletions

10
paths/paths_wasm.go Normal file
View File

@ -0,0 +1,10 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
package paths
func ensureStateDirPerms(dirPath string) error {
return nil
}
func LegacyStateFilePath() string { return "" }