Skip to content

Commit

Permalink
Add loong64 support & fix endian error (bytedance#229)
Browse files Browse the repository at this point in the history
Co-authored-by: yangzewei <[email protected]>
  • Loading branch information
zhaixiaojuan and yzewei authored Aug 28, 2024
1 parent 33d61f3 commit 780ca9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions internal/runtimex/readunaligned.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build 386 || amd64 || arm || arm64 || ppc64le || mips64le || mipsle || riscv64 || wasm
// +build 386 amd64 arm arm64 ppc64le mips64le mipsle riscv64 wasm
//go:build 386 || amd64 || arm || arm64 || ppc64le || mips64le || mipsle || riscv64 || wasm || loong64
// +build 386 amd64 arm arm64 ppc64le mips64le mipsle riscv64 wasm loong64

//
// from golang-go/src/os/endian_big.go
// from golang-go/src/os/endian_little.go

package runtimex

Expand Down
2 changes: 1 addition & 1 deletion internal/runtimex/readunaligned_bigendian.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// +build ppc64 s390x mips mips64

//
// from golang-go/src/os/endian_little.go
// from golang-go/src/os/endian_big.go

package runtimex

Expand Down

0 comments on commit 780ca9e

Please sign in to comment.