scryer-prolog
scryer-prolog copied to clipboard
Add RISC-V support
Recently I bought a RISC-V SBC (64 bits) and started to play with it on a Linux system. Scryer Prolog isn't compatible right now with this architecture.
Right now, I've found just one problem, but I'm going to keep a list in case more changes are needed.
Changes to be compatible with RISC-V:
But, just to make this clear: This issue is not specific to Scryer at all. So changing the Scryer code will not help with this issue. Right?
No, not really. Unless Scryer wants to change ring for another dependency, but I'm not advocating for that. This issue is just to track it.
With ring 0.17.0, RISC-V support has been added. However, rustls still references the 0.16 version.
@aarroyoc: I have filed https://github.com/rustls/rustls/issues/1522 in the hope that rustls will consider upgrading to this new version of ring!
A PR for this upgrade is already filed with rustls: https://github.com/rustls/rustls/pull/1508
RISC-V support will work as soon as this PR is merged.
The PR is merged, this issue is closable.
No, not yet. We still bring an older rustls in warp. But I suppose if we bump ring in Cargo.toml (and we compile without the HTTP feature) we could run Scryer Prolog on RISC-V. I'm gonna try it