zip: fix TestCreateFromDirSpecial/ignore_symlink on wasmtime

The wasmtime runtime does not permit absolute symlinks.

More generally: since this is an x-repo, we should not assume anything
in particular about the set of supported operating systems. We should
explicitly list the GOOS values expected to always support symlinks,
rather than the ones that are allowed not to.

Fixes golang/go#60795.

Change-Id: I1749429ac1178f261b4acfd97c0fcf9ec1c2a871
Reviewed-by: Johan Brandhorst-Satzkorn <>
Reviewed-by: Dmitri Shuralyov <>
Run-TryBot: Bryan Mills <>
TryBot-Result: Gopher Robot <>
Auto-Submit: Bryan Mills <>
1 file changed
tree: 35d13eb58d02241ad6410dc4665414777018a209
  1. gosumcheck/
  2. internal/
  3. modfile/
  4. module/
  5. semver/
  6. sumdb/
  7. zip/
  8. codereview.cfg
  9. go.mod
  10. go.sum



This repository holds packages for writing tools that work directly with Go module mechanics. That is, it is for direct manipulation of Go modules themselves.

It is NOT about supporting general development tools that need to do things like load packages in module mode. That use case, where modules are incidental rather than the focus, should remain in x/tools, specifically x/tools/go/packages.

The specific case of loading packages should still be done by invoking the go command, which remains the single point of truth for package loading algorithms.