Skip to content
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

ARM64 Compatibility Issue on macOS (M2 Chip): b64encode Undefined #8

Open
yekuanyshev opened this issue Nov 21, 2024 · 0 comments
Open

Comments

@yekuanyshev
Copy link

Description

I encountered a build error while using the github.com/cloudwego/base64x library on my macOS device with an M2 chip. The error indicates that b64encode is undefined in the base64x.go file.

Error Details

../../../../../pkg/mod/github.com/cloudwego/base64x@v0.1.4/base64x.go:90:5: undefined: b64encode

Environment

  • OS: macOS Ventura (M2 Chip)
  • Go Version: go version go1.x.x darwin/arm64
  • Library Version: v0.1.4

Steps to Reproduce

  1. Create a simple Go project that uses the github.com/cloudwego/base64x package.
  2. Build or run the project on a Mac with an M2 chip (ARM64 architecture).
  3. Observe the error.

Expected Behavior

The library should support ARM64 architecture or provide a fallback mechanism.

Actual Behavior

The b64encode function is undefined, which suggests the library might not support ARM64 architecture.

Request

Could you confirm if ARM64 architecture is supported by this library? If not, is there a workaround or planned support for ARM64 devices like M1/M2 chips?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant