mirror of
https://github.com/fluencelabs/marine.git
synced 2024-12-12 14:55:32 +00:00
some misc imporvements
This commit is contained in:
parent
983e824d7d
commit
dd1d1a0951
@ -254,7 +254,9 @@ impl FCEModule {
|
||||
|
||||
log::info!(
|
||||
"raw import for {}.{} called with {:?}\n",
|
||||
import_namespace, import_name, inputs
|
||||
import_namespace,
|
||||
import_name,
|
||||
inputs
|
||||
);
|
||||
|
||||
// copy here because otherwise wit_instance will be consumed by the closure
|
||||
@ -270,7 +272,8 @@ impl FCEModule {
|
||||
|
||||
log::info!(
|
||||
"\nraw import for {}.{} finished",
|
||||
import_namespace, import_name
|
||||
import_namespace,
|
||||
import_name
|
||||
);
|
||||
|
||||
// wit import functions should only change the stack state -
|
||||
|
@ -26,7 +26,7 @@ use crate::path::to_full_path;
|
||||
const RESULT_FILE_PATH: &str = "/tmp/ipfs_rpc_file";
|
||||
|
||||
pub fn main() {
|
||||
let msg = "ipfs_node.main: WASI initialization finished, env {}";
|
||||
let msg = "ipfs_node.main: WASI initialization finished";
|
||||
unsafe {
|
||||
log_utf8_string(msg.as_ptr() as _, msg.len() as _);
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ use std::path::PathBuf;
|
||||
const RPC_TMP_FILEPATH: &str = "/tmp/ipfs_rpc_file";
|
||||
|
||||
pub fn main() {
|
||||
let msg = "ipfs_rpc.main: WASI initialization finished, env {}";
|
||||
let msg = "ipfs_rpc.main: WASI initialization finished";
|
||||
unsafe {
|
||||
log_utf8_string(msg.as_ptr() as _, msg.len() as _);
|
||||
}
|
||||
|
@ -4,6 +4,10 @@ version = "0.1.0"
|
||||
authors = ["Fluence Labs"]
|
||||
edition = "2018"
|
||||
|
||||
[[bin]]
|
||||
name = "wit_embedder"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
wit_parser = { path = "../../crates/wit_parser" }
|
||||
clap = "2.33.1"
|
||||
|
Loading…
Reference in New Issue
Block a user