This commit is contained in:
2025-11-28 03:17:23 -07:00
parent 611f0f6f71
commit 6b69cc1459
8 changed files with 344 additions and 51 deletions

9
rust_compiler/build.rs Normal file
View File

@@ -0,0 +1,9 @@
fn main() -> ::std::io::Result<()> {
safer_ffi::headers::builder()
.with_language(safer_ffi::headers::Language::CSharp)
.to_file("../csharp_mod/SlangStubs.cs")?
.generate()
.unwrap();
Ok(())
}