Cargo Features
polkavm-common has no features set by default.
[dependencies]
polkavm-common = { version = "0.17.0", features = ["std", "alloc", "logging", "regmap", "blake3", "export-internals-for-testing"] }
- std = alloc
-
blake3:
This crate uses libstd for std::io trait implementations, and also for runtime CPU feature detection. This feature is enabled by default. If you use --no-default-features, the only way to use the SIMD implementations in this
crate is to enable the corresponding instruction sets statically for the entire build, with e.g. RUSTFLAGS="-C target-cpu=native". - alloc std?
-
Affects
polkavm-common::assembler
,polkavm-common::elf
,polkavm-common::writer
… - logging
-
Enables log
- regmap
-
Enables polkavm-assembler
Affects
polkavm-common::regmap
… - blake3 std?
-
Enables blake3
- unique-id export-internals-for-testing