wasmer_compiler/object/
mod.rs

1//! Object creator for Wasm Compilations.
2//!
3//! Given a compilation result (this is, the result when calling `Compiler::compile_module`)
4//! this exposes functions to create an Object file for a given target.
5
6#![deny(missing_docs, trivial_numeric_casts, unused_extern_crates)]
7#![warn(unused_import_braces)]
8#![allow(clippy::new_without_default)]
9#![warn(
10    clippy::float_arithmetic,
11    clippy::mut_mut,
12    clippy::nonminimal_bool,
13    clippy::map_unwrap_or,
14    clippy::print_stdout,
15    clippy::unicode_not_nfc,
16    clippy::use_self
17)]
18#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
19
20mod error;
21mod module;
22
23pub use self::error::ObjectError;
24pub use self::module::{emit_compilation, emit_data, emit_serialized, get_object_for_target};
25pub use object::{self, write::Object};