fix nebula-ffi compilation

This commit is contained in:
c0repwn3r 2023-07-12 10:59:46 -04:00
parent a47efeb329
commit 0c09476628
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 1 additions and 2 deletions

View File

@ -15,8 +15,7 @@ fn main() {
compiler = "go"; compiler = "go";
} }
gobuild::Build::new().compiler(compiler).file("main.go").compile("nebulaffi"); gobuild::Build::new().compiler(compiler).buildmode(BuildMode::CShared).file("main.go").compile("nebulaffi");
gobuild::Build::new().buildmode(BuildMode::CShared).file("main.go").compile("nebulaffi");
println!("Go compile success"); println!("Go compile success");