-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
internal/fs: fails to build on Plan 9 #3289
Comments
I can think of at least 3 general approaches that can be used. Perhaps there are even better ones. If supporting Plan 9 is completely out of scope of esbuild, you can leave the build error in the Or you can use build constraints to fix at least the build errors and make Another approach might be to add a |
Thanks! |
Current esbuild version fails to build on Plan 9. Pull in a newer version where that's been fixed. Updates evanw/esbuild#3289. For golang/go#61698. Change-Id: Ie12bf81df57d22306857b6f51bb426cfa2a47cec Cq-Include-Trybots: luci.golang.try:x_website-gotip-linux-amd64-misccompile Reviewed-on: https://go-review.googlesource.com/c/website/+/516256 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com>
Hello,
I happened to notice that the
github.com/evanw/esbuild/internal/fs
package has a compilation error when targeting the Plan 9 operating system, which has three Go ports:The build error can be reproduced on another platform via cross-compilation, for example:
syscall
documentation says:But isn't the case on Plan 9.
I don't use Plan 9 myself, but I noticed this when checking that another project at minimum compiles on all Go ports, and that project has esbuild as a dependency. That project doesn't necessarily need to work on Plan 9 and can add "!plan9" build constraints to indicate that, so this isn't causing a serious problem for it.
I'm reporting it here in case you find this information useful. Thanks.
The text was updated successfully, but these errors were encountered: