lucet-runtime-tests 0.1.1

Pure Rust runtime for Lucet WebAssembly toolchain (tests)
Documentation
1
2
3
4
5
6
7
8
9
10
use cc;

fn main() {
    // 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/guest_fault/traps.S")
        .compile("guest_fault_traps");
}