aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
authorTai Groot <[email protected]>2024-07-14 10:54:14 -0700
committerRon Evans <[email protected]>2024-07-15 10:13:43 +0200
commitf026422b04573f6eab49fd6bf8156a217efac1f7 (patch)
tree9d8ea33ea29146e9cb3fc7a036140a354808d7b3 /main.go
parentfb91c7097f4fdfc49cd2819753fb300cb31ce6b5 (diff)
downloadtinygo-f026422b04573f6eab49fd6bf8156a217efac1f7.tar.gz
tinygo-f026422b04573f6eab49fd6bf8156a217efac1f7.zip
add chromeos 9p support
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 66a172133..9af0b0fc5 100644
--- a/main.go
+++ b/main.go
@@ -1077,7 +1077,8 @@ func findFATMounts(options *compileopts.Options) ([]mountPoint, error) {
continue
}
fstype := fields[2]
- if fstype != "vfat" {
+ // chromeos bind mounts use 9p
+ if !(fstype == "vfat" || fstype == "9p") {
continue
}
fspath := strings.ReplaceAll(fields[1], "\\040", " ")