native-v86-core 0.1.6

Native Rust x86 CPU interpreter core ported from v86
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fn main() {
    println!("cargo:rerun-if-changed=csrc/softfloat/softfloat.c");
    println!("cargo:rerun-if-changed=csrc/softfloat_shim.c");

    cc::Build::new()
        .file("csrc/softfloat/softfloat.c")
        .file("csrc/softfloat_shim.c")
        .define("SOFTFLOAT_FAST_INT64", None)
        .define("INLINE_LEVEL", Some("5"))
        .define("SOFTFLOAT_FAST_DIV32TO16", None)
        .define("SOFTFLOAT_FAST_DIV64TO32", None)
        .warnings(false)
        .opt_level(2)
        .compile("v86_softfloat");
}