You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have provided a custom getrandom implementation via register_custom_getrandom!.
I'm getting this build error:
warning: [email protected]: Inherited flag "-fno-omit-frame-pointer" is not supported by the currently used CC
warning: [email protected]: Inherited flag "-fno-omit-frame-pointer" is not supported by the currently used CC
warning: [email protected]: In file included from /home/flippette/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.9/include/ring-core/base.h:74,
warning: [email protected]: from /home/flippette/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.9/include/ring-core/mem.h:60,
warning: [email protected]: from /home/flippette/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.9/crypto/curve25519/curve25519.c:22:
warning: [email protected]: /home/flippette/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.9/include/ring-core/target.h:53:2: error: #error "Unknown target CPU"
warning: [email protected]: 53 | #error "Unknown target CPU"
warning: [email protected]: | ^~~~~
warning: [email protected]: In file included from /home/flippette/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.9/crypto/curve25519/internal.h:20,
warning: [email protected]: from /home/flippette/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.9/crypto/curve25519/curve25519.c:24:
warning: [email protected]: /home/flippette/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.9/crypto/curve25519/../internal.h:246:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT"
warning: [email protected]: 246 | #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT"
I've tried setting TARGET_CC='riscv32-unknown-elf-gcc' to no avail.
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to get
rustls
to work on a bare-metal project using theriscv32imac-unknown-none-elf
target.Here's the relevant section of my
Cargo.toml
:I have provided a custom
getrandom
implementation viaregister_custom_getrandom!
.I'm getting this build error:
I've tried setting
TARGET_CC='riscv32-unknown-elf-gcc'
to no avail.The text was updated successfully, but these errors were encountered: