Rename wasmtime-api to wasmtime.
This commit is contained in:
@@ -49,7 +49,7 @@ use std::process;
|
||||
use std::str;
|
||||
use std::str::FromStr;
|
||||
use target_lexicon::Triple;
|
||||
use wasmtime::pick_compilation_strategy;
|
||||
use wasmtime_cli::pick_compilation_strategy;
|
||||
use wasmtime_debug::{emit_debugsections, read_debuginfo};
|
||||
#[cfg(feature = "lightbeam")]
|
||||
use wasmtime_environ::Lightbeam;
|
||||
@@ -130,7 +130,7 @@ fn main() {
|
||||
None
|
||||
} else {
|
||||
let prefix = "wasm2obj.dbg.";
|
||||
wasmtime::init_file_per_thread_logger(prefix);
|
||||
wasmtime_cli::init_file_per_thread_logger(prefix);
|
||||
Some(prefix)
|
||||
};
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ use std::path::Component;
|
||||
use std::path::Path;
|
||||
use std::process::exit;
|
||||
use wasi_common::preopen_dir;
|
||||
use wasmtime::pick_compilation_strategy;
|
||||
use wasmtime_cli::pick_compilation_strategy;
|
||||
use wasmtime_api::{Config, Engine, HostRef, Instance, Module, Store};
|
||||
use wasmtime_environ::{cache_create_new_config, cache_init};
|
||||
use wasmtime_interface_types::ModuleData;
|
||||
@@ -200,7 +200,7 @@ fn main() -> Result<()> {
|
||||
None
|
||||
} else {
|
||||
let prefix = "wasmtime.dbg.";
|
||||
wasmtime::init_file_per_thread_logger(prefix);
|
||||
wasmtime_cli::init_file_per_thread_logger(prefix);
|
||||
Some(prefix)
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ use pretty_env_logger;
|
||||
use serde::Deserialize;
|
||||
use std::path::Path;
|
||||
use std::process;
|
||||
use wasmtime::pick_compilation_strategy;
|
||||
use wasmtime_cli::pick_compilation_strategy;
|
||||
use wasmtime_environ::{cache_create_new_config, cache_init};
|
||||
use wasmtime_jit::{Compiler, Features};
|
||||
use wasmtime_wast::WastContext;
|
||||
@@ -93,7 +93,7 @@ fn main() {
|
||||
None
|
||||
} else {
|
||||
let prefix = "cranelift.dbg.";
|
||||
wasmtime::init_file_per_thread_logger(prefix);
|
||||
wasmtime_cli::init_file_per_thread_logger(prefix);
|
||||
Some(prefix)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user