Cargo Features

[dependencies]
gp-runtime-interface = { version = "22.0.0-pre.1", default-features = false, features = ["std", "disable_target_static_assertions"] }
default = std

The std feature is set by default whenever gp-runtime-interface is added without default-features = false somewhere in the dependency tree.

std default

Enables std of bytes, parity-scale-codec, primitive-types ^0.12.0, sp-core ^23.0.0, gp-externalities, sp-io ^25.0.0, sp-state-machine ^0.30.0, sp-std ^12.0.0, sp-storage ^17.0.0, sp-tracing ^14.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.