1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#![deny(missing_docs)]
//! Faerie is a crate for creating object files.

extern crate goblin;
extern crate indexmap;
extern crate scroll;
extern crate string_interner;
#[macro_use]
extern crate log;
#[macro_use]
extern crate failure;
extern crate target_lexicon;

use goblin::container;

type Ctx = container::Ctx;

mod elf;
mod mach;
mod target;

pub mod artifact;
pub use crate::artifact::{
    decl::{
        DataDecl, DataImportDecl, DataType, DebugSectionDecl, Decl, FunctionDecl,
        FunctionImportDecl, Scope, Visibility,
    },
    Artifact, ArtifactBuilder, ArtifactError, ImportKind, Link, Reloc,
};