Cargo Features
[dependencies]
sp-runtime-interface = { version = "28.0.0", default-features = false, features = ["std", "disable_target_static_assertions"] }
- default = std
-
The
std
feature is set by default wheneversp-runtime-interface
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of bytes, parity-scale-codec, primitive-types ^0.12.0, sp-externalities, sp-std, sp-storage, sp-tracing, and sp-wasm-interface
Affects
sp-runtime-interface::host
,sp-runtime-interface::Pointer
,pass_by::PassByImpl
… - disable_target_static_assertions
-
ATTENTION
Only use when you know what you are doing.
Disables static assertions in
impls.rs
that checks the word size. To prevent any footgun, the check is changed into a runtime check.