linera-execution 0.10.0

Persistent data and the corresponding logics used by the Linera protocol for runtime and execution of smart contracts / applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) Zefchain Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

fn main() {
    cfg_aliases::cfg_aliases! {
        with_fs: { all(not(target_arch = "wasm32"), feature = "fs") },
        with_metrics: { all(not(target_arch = "wasm32"), feature = "metrics") },
        with_testing: { any(test, feature = "test") },
        with_tokio_multi_thread: { not(target_arch = "wasm32") },
        with_wasmer: { all(not(target_arch = "wasm32"), feature = "wasmer") },
        with_wasmtime: { all(not(target_arch = "wasm32"), feature = "wasmtime") },

        // If you change this, don't forget to update `WasmRuntime` and
        // `WasmRuntime::default_with_sanitizer`
        with_wasm_runtime: { any(with_wasmer, with_wasmtime) },
    }
}