Set up a rust UI

This commit is contained in:
2024-11-02 16:18:41 -04:00
parent 3c7915fa53
commit 59e14b43e8
6 changed files with 2733 additions and 4 deletions
+11
View File
@@ -0,0 +1,11 @@
use std::path::Path;
fn main() {
cc::Build::new()
.include(Path::new("shrooms-vb-core/core"))
.opt_level(3)
.flag_if_supported("-flto")
.flag_if_supported("-fno-strict-aliasing")
.file(Path::new("shrooms-vb-core/core/vb.c"))
.compile("vb");
}