Cargo Features

[dependencies]
casper-wasmi-core = { version = "0.2.1", default-features = false, features = ["std", "virtual_memory"] }
default = std

The std feature is set by default whenever casper-wasmi-core is added without default-features = false somewhere in the dependency tree.

std default virtual_memory?

Use no-default-features for a no_std build.

Enables std of downcast-rs, num-bigint-std and std of num-rational, std of num-traits

virtual_memory = region, std

Enables OS supported virtual memory.

Note

  • This feature is only supported on 64-bit platforms. For 32-bit platforms the linear memory will fallback to using the Vec based implementation.
  • The default is to fall back is an inefficient vector based implementation.
  • By nature this feature requires region and the Rust standard library.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

region virtual_memory?