Cargo Features
[dependencies]
polkavm = { version = "0.14.0", default-features = false, features = ["std", "module-cache", "generic-sandbox", "export-internals-for-testing"] }
- default = std
-
The
std
feature is set by default wheneverpolkavm
is added without
somewhere in the dependency tree.default-features = false - std dev default
-
Enables std of ruzstd ^0.4.0
- module-cache
-
Whether to enable a module cache.
Enables schnellru, blake3 of polkavm-common
- generic-sandbox
-
Whether to enable a cross-platform, generic sandbox for the recompiler backend.
This is required on non-Linux systems to use the recompiler. On Linux it is unnecessary.
This sandbox is EXPERIMENTAL and is not meant for production use.Affects
sandbox::generic
… - export-internals-for-testing
-
Internal feature for testing. DO NOT USE.
Affects
polkavm::generic_allocator
,polkavm::bit_mask
…