mirror of
https://github.com/fluencelabs/aquavm
synced 2024-12-04 15:20:16 +00:00
fix(air-trace): air-trace
native-only compilation fix (#429)
It was not correctly refactored in the #381. Add a CI check for the `air-trace` native-only mode.
This commit is contained in:
parent
ac24507171
commit
c35eac0f01
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -37,6 +37,9 @@ jobs:
|
||||
- name: Run cargo check
|
||||
run: cargo check
|
||||
|
||||
- name: Check native air-trace
|
||||
run: cargo check --package air-trace --no-default-features
|
||||
|
||||
- name: Run cargo test
|
||||
run: |
|
||||
cargo test --release
|
||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -225,7 +225,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "air-trace"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
dependencies = [
|
||||
"air",
|
||||
"air-interpreter-interface",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "air-trace"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
edition = "2021"
|
||||
description = "AIR performance tracing tool"
|
||||
authors = ["Fluence Labs"]
|
||||
|
@ -130,12 +130,10 @@ fn get_runner(
|
||||
#[cfg(not(feature = "wasm"))]
|
||||
fn get_runner(
|
||||
_native: bool,
|
||||
current_peer_id: impl Into<String>,
|
||||
_air_interpreter_wasm_path: &Path,
|
||||
_max_heap_size: Option<u64>,
|
||||
) -> anyhow::Result<Box<dyn AirRunner>> {
|
||||
self::native::create_native_avm_runner(current_peer_id)
|
||||
.context("Failed to instantiate a native AVM")
|
||||
self::native::create_native_avm_runner().context("Failed to instantiate a native AVM")
|
||||
}
|
||||
|
||||
// TODO This is a copy of function from air_interpreter/marine.rs. It should be moved to the marine_rs_sdk.
|
||||
|
Loading…
Reference in New Issue
Block a user