Home
last modified time | relevance | path

Searched refs:CompileError (Results 1 – 8 of 8) sorted by relevance

/wasmtime-44.0.1/crates/environ/src/compile/
H A Dmod.rs36 pub enum CompileError { enum
47 impl fmt::Display for CompileError { implementation
52 CompileError::DebugInfoNotSupported => { in fmt()
59 impl From<WasmError> for CompileError { implementation
60 fn from(err: WasmError) -> CompileError { in from() argument
61 CompileError::Wasm(err) in from()
65 impl core::error::Error for CompileError { implementation
68 CompileError::Wasm(e) => Some(e), in source()
257 ) -> Result<CompiledFunctionBody, CompileError>; in compile_function() argument
270 ) -> Result<CompiledFunctionBody, CompileError>; in compile_array_to_wasm_trampoline() argument
[all …]
/wasmtime-44.0.1/crates/winch/src/
H A Dcompiler.rs74 ) -> Result<(), CompileError> { in emit_unwind_info() argument
83 .map_err(|e| CompileError::Codegen(format!("{e:?}")))? in emit_unwind_info()
121 ) -> Result<CompiledFunctionBody, CompileError> { in compile_function() argument
148 .map_err(|e| CompileError::Codegen(format!("{e:?}"))); in compile_function()
176 ) -> Result<CompiledFunctionBody, CompileError> { in compile_array_to_wasm_trampoline() argument
186 ) -> Result<CompiledFunctionBody, CompileError> { in compile_wasm_to_array_trampoline() argument
243 ) -> Result<CompiledFunctionBody, CompileError> { in compile_wasm_to_builtin() argument
271 ) -> Result<CompiledFunctionBody, CompileError> { in compile_function() argument
289 ) -> Result<CompiledFunctionBody, CompileError> { in compile_array_to_wasm_trampoline() argument
305 ) -> Result<CompiledFunctionBody, CompileError> { in compile_wasm_to_array_trampoline() argument
[all …]
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dresult.rs85 pub struct CompileError<'a> { struct
94 impl<'a> core::fmt::Debug for CompileError<'a> { implementation
101 pub type CompileResult<'a, T> = Result<T, CompileError<'a>>;
H A Dincremental_cache.rs31 use crate::{CompileError, Context, trace};
77 .map_err(|err| CompileError { in compile_with_cache()
H A Dcontext.rs29 use crate::{CompileError, timing};
218 .map_err(|error| CompileError { in compile()
H A Dlib.rs104 pub use crate::result::{CodegenError, CodegenResult, CompileError};
/wasmtime-44.0.1/crates/cranelift/src/
H A Dcompiler.rs236 ) -> Result<CompiledFunctionBody, CompileError> { in compile_function() argument
333 .map_err(|e| CompileError::Codegen(e.to_string()))?; in compile_function()
358 ) -> Result<CompiledFunctionBody, CompileError> { in compile_array_to_wasm_trampoline() argument
379 ) -> Result<CompiledFunctionBody, CompileError> { in compile_wasm_to_array_trampoline() argument
741 ) -> Result<CompiledFunctionBody, CompileError> { in compile_wasm_to_builtin() argument
1007 ) -> Result<CompiledCode, CompileError> { in compile_maybe_cached() argument
1036 ) -> Result<CompiledCode, CompileError> { in compile_maybe_cached() argument
1043 ) -> Result<CompiledCode, CompileError> { in compile_uncached() argument
1319 ) -> Result<CompiledFunctionBody, CompileError> { in array_to_wasm_trampoline() argument
1467 fn finish(self, symbol: &str) -> Result<CompiledFunction, CompileError> { in finish() argument
[all …]
/wasmtime-44.0.1/cranelift/module/src/
H A Dmodule.rs17 CodegenError, CompileError, Context, FinalizedMachReloc, FinalizedRelocTarget, ir, isa,
305 impl<'a> From<CompileError<'a>> for ModuleError {
306 fn from(err: CompileError<'a>) -> Self { in from()