bazel-contrib / rules_go

Go rules for Bazel
Apache License 2.0
1.38k stars 656 forks source link

Support linux/loong64 #4142

Open zunley opened 2 days ago

zunley commented 2 days ago

What type of PR is this? Feature

What does this PR do? Why is it needed? enable bazel_rules_go on loongarch64(a risc architecture).

Which issues(s) does this PR fix?

Other notes for review Golang officially supports loongarch64. loong64 is an alias for loongarch64 and is used in golang.

zunley commented 2 days ago

This PR depends on https://github.com/bazelbuild/bazel/pull/23965, https://github.com/bazelbuild/platforms/pull/106

zunley commented 2 days ago

@abner-chenc