From 0c0947662864ff02b4d4b7e8179566a5d75fb686 Mon Sep 17 00:00:00 2001 From: c0repwn3r Date: Wed, 12 Jul 2023 10:59:46 -0400 Subject: [PATCH] fix nebula-ffi compilation --- nebula-ffi/build.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nebula-ffi/build.rs b/nebula-ffi/build.rs index a111955..4cfff8b 100644 --- a/nebula-ffi/build.rs +++ b/nebula-ffi/build.rs @@ -15,8 +15,7 @@ fn main() { compiler = "go"; } - gobuild::Build::new().compiler(compiler).file("main.go").compile("nebulaffi"); - gobuild::Build::new().buildmode(BuildMode::CShared).file("main.go").compile("nebulaffi"); + gobuild::Build::new().compiler(compiler).buildmode(BuildMode::CShared).file("main.go").compile("nebulaffi"); println!("Go compile success");