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-on: https://go-review.googlesource.com/c/mod/+/504075
Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
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
  11. LICENSE
  12. PATENTS
  13. README.md
README.md

mod

PkgGoDev

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.