mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 07:43:42 +08:00
12 lines
281 B
Rust
12 lines
281 B
Rust
|
use rust2go::RegenArgs;
|
||
|
|
||
|
fn main() {
|
||
|
rust2go::Builder::new()
|
||
|
.with_go_src("./go")
|
||
|
.with_regen_arg(RegenArgs {
|
||
|
src: "./src/go/go_api.rs".into(),
|
||
|
dst: "./go/rs_gen.go".into(),
|
||
|
..Default::default()
|
||
|
})
|
||
|
.build();
|
||
|
}
|