-
Notifications
You must be signed in to change notification settings - Fork 14
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
support riscv64 build #10
Comments
The idea behind this is that many SPDM responder implementations may be on an embedded devices, riscv64 being a popular architecture. Ideally, this project should be compliable for any target - but picking a specific baremetal target to formally support is good to iron out issues and minimize regressions in this functionality. According to the rustc documentation, all the riscv targets are considered "Tier 2" targets. This means that the rustc nightly will ensure that riscv builds will always work, but there are not functionality guarantees. Since we are pinning a specific nightly version, this should be fine, but I'll watch for weird quirks. We can't compile directly on target, but that's okay since the envisioned scenario is cross compiling for embedded devices. For now, I will plan to target Eventually, it would be good to add automated build and test workflow support for riscv64 platforms on the repo as well, but I will visit that only after I have been able to get the riscv64 building and running locally first. |
To provide an update here - I'm still working on this (fell sick the past week which didn't help progress). Getting the core Regarding the crypto library, is I ask because some of the crate dependencies I'm having issues with are coming from Otherwise, do we support a Edit: misclicked "close with comment" when typing |
Current spdm-rs project can pass build for x86_64.
Need to investigate how to support riscv64.
The text was updated successfully, but these errors were encountered: