mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
Get rid of in-substrate usages of core_intrinsics feature (#4823)
* Remove usage of unneeded Rust feature core_intrinsics * core::intrinsics::abort -> arch::wasm32::unreachable * Don't publish `core::intrinsics`. * Disable panic_handler and alloc_error_handler for no_std non wasm builds
This commit is contained in:
@@ -21,5 +21,9 @@ std = [ "full_crypto", "sp-core/std", "codec/std", "serde", "sp-std/std", "sp-io
|
||||
# or Intel SGX.
|
||||
# For the regular wasm runtime builds this should not be used.
|
||||
full_crypto = [
|
||||
"sp-core/full_crypto"
|
||||
"sp-core/full_crypto",
|
||||
# Don't add `panic_handler` and `alloc_error_handler` since they are expected to be provided
|
||||
# by the user anyway.
|
||||
"sp-io/disable_panic_handler",
|
||||
"sp-io/disable_oom",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user