mirror of
https://github.com/pumpbin/pumpbin
synced 2026-03-14 23:04:30 -07:00
feat!: v1.0.0
Implementing a Plug-in System with Extism. Serialize the Plugin struct with Cap'n Proto for backward compatibility. Refactor the project code.
This commit is contained in:
12
build.rs
12
build.rs
@@ -1,4 +1,16 @@
|
||||
fn build_capnp() {
|
||||
capnpc::CompilerCommand::new()
|
||||
.src_prefix("capnp")
|
||||
.file("capnp/plugin.capnp")
|
||||
.output_path("capnp")
|
||||
.run()
|
||||
.expect("schema compiler command");
|
||||
}
|
||||
|
||||
fn main() {
|
||||
#[cfg(debug_assertions)]
|
||||
build_capnp();
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
{
|
||||
let mut res = winresource::WindowsResource::new();
|
||||
|
||||
Reference in New Issue
Block a user