Merged
Conversation
emadomedher
pushed a commit
to emadomedher/picoclaw
that referenced
this pull request
Feb 17, 2026
Architecture 32 bit
Contributor
|
@PixelTux Thanks for tackling the 32 bit architecture support! That was blocking builds on a bunch of platforms, and fixing the underlying issue rather than just working around it is the right approach. We have the PicoClaw Dev Group on Discord for contributors to connect. If you're interested, email |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
Fixes:
As requested in #91 (comment) by @mengzhuo, this PR addresses the build failure on 32-bit architectures.
Problem:
pkg/channels/feishu.godepends ongithub.com/larksuite/oapi-sdk-go, which does not support32-bitarchitectures due to usage ofmath.MaxInt64where int overflows on32-bitsystems.As a result, builds fail on
32-bitplatforms (e.g.,armv7l).Solution:
Introduce architecture-specific files:
This uses Go build constraints to skip Feishu on unsupported 32-bit architectures, allowing the project to compile successfully.
Testing:
✅ Built successfully on ARMv7 (
32-bit) using a Tinker Board S✅ Ran make
build-allon a 64-bit system✅ No build or installation errors observed