feat: basic support for linux riscv64#12602
Conversation
Package Changes Through 552f960There are 5 changes which include tauri-cli with minor, tauri with patch, tauri-utils with minor, tauri-bundler with minor, @tauri-apps/cli with minor Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
|
Thanks for the PR. Did you only test |
I tested
Yes. But adding riscv there should make the code future-proof when the appimage tools start supporting riscv. |
i don't care too much about
That is in the very far future (or potentially never) and with your changes the user facing error now isn't as clear anymore. Without your changes the user will get a "unsupported platform" error and now they'll probably get an http error instead. |
Thanks! I will test the rpm bundler. Marking this PR as draft until test is done.
Your concern is certainly valid. We riscv64 packagers are generally familiar with http error encountered when a prebuilt asset isn't available for riscv64. But for normal users that error might be a little cryptic. I will remove the changes to the appimage code. |
|
I have dropped the changes to appimage bundler. I think this PR is ready for review now. |
lucasfernog
left a comment
There was a problem hiding this comment.
i'm gonna trust your tests here since i can't easily test on riscv64, code wise it looks good
Tauri now supports it, so the updater should check the riscv64 arch and replace the {{arch}} and {{target}} variables properly.
ref tauri-apps/tauri#12602
Tauri now supports it, so the updater should check the riscv64 arch and replace the {{arch}} and {{target}} variables properly.
ref tauri-apps/tauri#12602
Tauri now supports it, so the updater should check the riscv64 arch and replace the {{arch}} and {{target}} variables properly.
ref tauri-apps/tauri#12602
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/13889123357
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
Tauri now supports it, so the updater should check the riscv64 arch and replace the {{arch}} and {{target}} variables properly.
ref tauri-apps/tauri#12602
Tauri now supports it, so the updater should check the riscv64 arch and replace the {{arch}} and {{target}} variables properly.
ref tauri-apps/tauri#12602

This PR introduces basic support for riscv64.
Tests done on Arch Linux riscv64:
closes #7522 (A new release on npm should be necessary)
closes #10945