-
Notifications
You must be signed in to change notification settings - Fork 56
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
Any chance of supporting 8-bit platforms? #182
Comments
With the forthcoming |
sidenote: I tried compiling for 32-bit ARM and it still failed because of error[E0463]: can't find crate for `std`
--> /home/usr/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.2.8/src/error_impls.rs:9:1
|
9 | extern crate std;
| ^^^^^^^^^^^^^^^^^ can't find crate
|
= note: the `thumbv6m-none-eabi` target may not support the standard library
error[E0463]: can't find crate for `std`
|
= note: the `thumbv6m-none-eabi` target may not support the standard library
= note: `std` is required by `once_cell` because it does not declare `#![no_std]`
error: target is not supported, for more information see: https://docs.rs/getrandom/#unsupported-targets
--> /home/usr/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.2.8/src/lib.rs:268:9
|
268 | / compile_error!("target is not supported, for more information see: \
269 | | https://docs.rs/getrandom/#unsupported-targets");
| |________________________________________________________________________^
error[E0433]: failed to resolve: use of undeclared crate or module `imp`
--> /home/usr/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.2.8/src/lib.rs:290:5
|
290 | imp::getrandom_inner(dest)
| ^^^ use of undeclared crate or module `imp` so with the upcoming |
We ensure all of the crates in this repo build on https://github.com/RustCrypto/elliptic-curves/blob/master/.github/workflows/k256.yml#L30 |
Oops, my bad, it works! I'd deleted Btw, regarding |
I just need to finish and merge RustCrypto/utils#826, which I plan to do soon |
I'm trying to compile k256 for ATmega328, a popular 8-bit chip on arduino boards, but I'm getting:
The other alternatives to k256, secp256k1 and libsecp256k1 both need
alloc
, which I have not been able to get working yet on that platform. Any thoughts?The text was updated successfully, but these errors were encountered: