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
cosmwasm-std: avoid dependency on std::error::Error
std::error::Error doesn’t currently have a stable no_std equivalence.
core::error::Error is a thing but it’s unstable and thus requires
nightly compiler.
There’s one hack we can use. serde has no_std support and exports
std::error::Error as serde::de::StdErr. This way we hide the need
for nightly compiler to serde.
The two alternatives are:
- require nightly compiler or
- don’t implement std::error::Error in no_std builds.
Issue: #1484
0 commit comments