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
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Experiencing problems? Have you tried our Stack Exchange first?
This is not a support question.
Description of bug
When building for no_std targets, sp-core dependency fails due to issue with libsecp256k1
$cargo build --target=thumbv7m-none-eabi
<truncated>
error[E0463]: can't find crate for `std`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/subtle-2.4.1/src/lib.rs:88:1
|
88 | extern crate std;
| ^^^^^^^^^^^^^^^^^ can't find crate
|
= note: the `thumbv7m-none-eabi` target may not support the standard library
= help: consider building the standard library from source with `cargo build -Zbuild-std`
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
When building for
no_stdtargets,sp-coredependency fails due to issue with libsecp256k1See more details and proposed fix paritytech/libsecp256k1#146
Steps to reproduce
$cargo generate --git https://github.com/rust-embedded/cortex-m-quickstartsp-core = {version = "7.0.0", default-features = false, features = ["full_crypto"]}dependency$cargo build --target=thumbv7m-none-eabi