Beginnings of rust emulation

This commit is contained in:
2024-11-03 11:32:53 -05:00
parent 59e14b43e8
commit 40c4561748
9 changed files with 936 additions and 332 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
use std::path::Path;
fn main() {
println!("cargo::rerun-if-changed=shrooms-vb-core");
cc::Build::new()
.include(Path::new("shrooms-vb-core/core"))
.opt_level(3)
.opt_level(2)
.flag_if_supported("-flto")
.flag_if_supported("-fno-strict-aliasing")
.file(Path::new("shrooms-vb-core/core/vb.c"))