lucet-runtime-internals 0.1.1

Pure Rust runtime for Lucet WebAssembly toolchain (internals)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use cc;

fn main() {
    cc::Build::new()
        .file("src/context/context_asm.S")
        .compile("context_context_asm");
    cc::Build::new()
        .file("src/instance/siginfo_ext.c")
        .compile("instance_siginfo_ext");

    // TODO: this should only be built for tests, but Cargo doesn't
    // currently let you specify different build.rs options for tests:
    // <https://github.com/rust-lang/cargo/issues/1581>
    cc::Build::new()
        .file("src/context/tests/c_child.c")
        .compile("context_tests_c_child");
}