Skip to content
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 RISC-V? #307

Open
SUPERCILEX opened this issue Oct 28, 2024 · 2 comments
Open

Support RISC-V? #307

SUPERCILEX opened this issue Oct 28, 2024 · 2 comments

Comments

@SUPERCILEX
Copy link
Contributor

A compilation error was introduced in #301 for riscv. Can it be supported natively?

For searchability:

error: The prebuilt `sys.rs` may not be compatible with your target,
       please use bindgen feature to generate new `sys.rs` of your arch
       or use `--cfg=io_uring_skip_arch_check` to skip the check.
@quininer
Copy link
Member

quininer commented Oct 28, 2024

Sure, but I don't have a riscv device to test with, and if it's guaranteed on CI (see https://github.com/tokio-rs/io-uring/blob/master/.github/workflows/ci.yml#L36), I'd be happy to take it.

@quininer
Copy link
Member

Anyway, now you can skip check using io_uring_skip_arch_check, or specify your own binding using io_uring_use_own_sys

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

No branches or pull requests

2 participants