-
Notifications
You must be signed in to change notification settings - Fork 704
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
Rust Embedded ESP32C6 STD (Does Ring support the target "riscv32imac-esp-espidf" ?) #1765
Comments
Closing this issue due the lack of answers from the repository contributors. Cheers, |
ring 0.17 is the first version that has implementations of every algorithm that could work on every target. But, we do have an allowlist of target architectures and target operating systems. I do not know what |
Hi @briansmith , thank you for your answer. getrandom supports the target riscv32imac-esp-espidf with no problem for STD rust embedded apps. [target.'cfg(all(target_arch = "riscv32imac",target_os = "espidf"))'.dependencies]
getrandom = { git = "https://github.com/rust-random/getrandom.git" } So, does ring have support for riscv32 ?
Cheers, |
You need to set See also #1787 where I describe a bit of what's wrong with |
Regrading getrandom I am using getrandom in other places and I have no problems with it. Should I wait for the "in-library DRBG" for this to work with the ring library ? Regarding the ring library: I think I am doing something wrong. I have already tried several types of configurations but I am not able to compile the ring crate. I have the "riscv-gnu-toolchain" with the enable-multilib meaning it would work for both 64-bits and 32 bits.
Do I need some special configuration or flag to be added to the compiler ? Errors: Configuration TARGET_CC=/opt/riscv/bin/riscv64-unknown-elf-gcc cargo build --release
|
Hi, @briansmith Is there any solution for this issue ? Does Ring support our "riscv32imac-esp-espidf" target ? I have looked in the CI and did not find our target there. Happy new year, cheers. |
ring v0.16.20
)
For me it fails due to |
Usually I use Ubuntu, and also ring's CI normally runs on UBuntu. It would accelerate the process of supporting this target if somebody could document how to install the toolchain for this target on Ubuntu so that I can test that the build succeeds, Pointers to other projects that support this target that have GitHub Actions working would also be appreciated. It would be even better if somebody could submit a PR that modifies |
Hello,
I think I am missing a rustflag that is preventing the compiler to finish. If not could someone point myself in the right direction ?
config.toml
Error:
Cheers,
The text was updated successfully, but these errors were encountered: