Skip to content

Conversation

@ffgan
Copy link
Contributor

@ffgan ffgan commented Nov 12, 2025

Hi there,

Recently, riscv64 has gained widespread adoption, so we might consider adding support for it. I recently submitted a relatively simple PR to rules_go, which allows it to support riscv64 to some extent—upgrading to v0.59.0 is sufficient to enable this.

I ran the CI in my fork, and everything went smoothly. The results are as follows:

Since I couldn’t find existing tests for architectures other than amd64 and arm64, I haven’t added any riscv64-specific tests for now. I believe this PR should work fine on riscv64 as well.

Technically, we could run tests for other architectures using a qemu + docker setup, but that would also require building Bazel for the corresponding architecture in advance. Those steps are outside the scope of this PR, but if needed, I can open a separate PR to implement that.

if any maintainers have questions, feel free to @ me — I’d be happy to answer any related questions.


Other Info
Co-authored by: [email protected];
Co-authored by: [email protected];

Upgrade rules_go to v0.59.0 to enable riscv64 platform support

Co-authored by: [email protected];

Signed-off-by: ffgan <[email protected]>
@github-actions
Copy link

⚠️ Optional job e2e-bzlmod-toolchain-circular-dependencies failed ⚠️

  • exit status: 1

@ffgan
Copy link
Contributor Author

ffgan commented Nov 19, 2025

Hi @rmohr . Could you please help review this PR? If you have any questions, feel free to @ me directly — I’d be happy to answer anything.

@kellyma2 kellyma2 merged commit c429e21 into rmohr:main Nov 19, 2025
14 checks passed
@ffgan
Copy link
Contributor Author

ffgan commented Nov 20, 2025

Hi @kellyma2. Thank you for being able to merge this PR. I would like to ask if you could consider releasing a new version? I am very much looking forward to having a usable bazeldnf for riscv64. Thanks again for the maintainers' hard work.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants