mirror of
https://github.com/fluencelabs/marine.git
synced 2024-12-04 19:50:19 +00:00
fmt
This commit is contained in:
parent
661c9731a2
commit
c76925660f
@ -26,8 +26,8 @@ jobs:
|
||||
key: fce01-{{ checksum "Cargo.toml" }}
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
arqada:
|
||||
version: 2.1
|
||||
fce:
|
||||
jobs:
|
||||
- fce
|
||||
|
||||
|
@ -23,8 +23,8 @@
|
||||
unreachable_patterns
|
||||
)]
|
||||
#![warn(rust_2018_idioms)]
|
||||
mod vm;
|
||||
mod misc;
|
||||
mod vm;
|
||||
|
||||
pub use vm::config::Config;
|
||||
pub use vm::frank::Frank;
|
||||
|
@ -24,14 +24,14 @@
|
||||
)]
|
||||
#![warn(rust_2018_idioms)]
|
||||
|
||||
mod misc;
|
||||
/// Command-line tool intended to test Frank VM.
|
||||
mod vm;
|
||||
mod misc;
|
||||
|
||||
use crate::misc::SlicePrettyPrinter;
|
||||
use crate::vm::config::Config;
|
||||
use crate::vm::frank::Frank;
|
||||
use crate::vm::service::FrankService;
|
||||
use crate::misc::SlicePrettyPrinter;
|
||||
|
||||
use exitfailure::ExitFailure;
|
||||
use std::fs;
|
||||
@ -92,7 +92,10 @@ fn main() -> Result<(), ExitFailure> {
|
||||
}
|
||||
"hash" => {
|
||||
let hash = frank.compute_state_hash();
|
||||
println!("vm state hash is {:2x}", SlicePrettyPrinter(hash.as_slice()));
|
||||
println!(
|
||||
"vm state hash is {:2x}",
|
||||
SlicePrettyPrinter(hash.as_slice())
|
||||
);
|
||||
}
|
||||
"help" => {
|
||||
println!(
|
||||
|
Loading…
Reference in New Issue
Block a user