Cargo Features
[dependencies]
gp-runtime-interface = { version = "18.0.0", default-features = false, features = ["std", "disable_target_static_assertions"] }
- default = std
-
The
std
feature is set by default whenevergp-runtime-interface
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of bytes, parity-scale-codec, primitive-types, sp-externalities ^0.20.0, sp-std ^9.0.0, sp-storage ^14.0.0, sp-tracing ^10.0.0, and gp-wasm-interface
Affects
gp-runtime-interface::host
,gp-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.