Move wasmer_compiler errors to wasmer_types error module

This commit is contained in:
Manos Pitsidianakis
2022-05-10 16:06:27 +03:00
parent 8be0089893
commit feee4e3587
45 changed files with 248 additions and 149 deletions

View File

@ -3,10 +3,10 @@ use crate::warning;
use anyhow::{Context, Result};
use std::path::{Path, PathBuf};
use structopt::StructOpt;
use wasmer_compiler::{CompileError, CpuFeature, ModuleEnvironment, Target, Triple};
use wasmer_compiler::{CpuFeature, ModuleEnvironment, Target, Triple};
use wasmer_engine_universal_artifact::{ArtifactCreate, UniversalArtifactBuild};
use wasmer_types::entity::PrimaryMap;
use wasmer_types::{MemoryIndex, MemoryStyle, TableIndex, TableStyle};
use wasmer_types::{CompileError, MemoryIndex, MemoryStyle, TableIndex, TableStyle};
#[derive(Debug, StructOpt)]
/// The options for the `wasmer compile` subcommand