* initial set of work for windows fastcall (x64) call convention - call conventions: rename `fastcall` to `windows_fastcall` - add initial set of filetests - ensure arguments are written after the shadow space/store (offset-wise) The shadow space available before the arguments (range 0..32) is not used as spill space yet. * address review feedback
33 lines
965 B
Rust
33 lines
965 B
Rust
//! Top-level lib.rs for `cretonne_simplejit`.
|
|
|
|
#![deny(missing_docs, trivial_numeric_casts, unused_extern_crates)]
|
|
#![warn(unused_import_braces, unstable_features)]
|
|
#![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
|
|
#![cfg_attr(feature = "cargo-clippy",
|
|
allow(new_without_default, new_without_default_derive))]
|
|
#![cfg_attr(feature="cargo-clippy", warn(
|
|
float_arithmetic,
|
|
mut_mut,
|
|
nonminimal_bool,
|
|
option_map_unwrap_or,
|
|
option_map_unwrap_or_else,
|
|
print_stdout,
|
|
unicode_not_nfc,
|
|
use_self,
|
|
))]
|
|
|
|
extern crate cretonne_codegen;
|
|
extern crate cretonne_module;
|
|
extern crate cretonne_native;
|
|
extern crate errno;
|
|
extern crate region;
|
|
extern crate libc;
|
|
|
|
#[cfg(target_os = "windows")]
|
|
extern crate winapi;
|
|
|
|
mod backend;
|
|
mod memory;
|
|
|
|
pub use backend::{SimpleJITBuilder, SimpleJITBackend};
|