mirror of
https://github.com/pumpbin/pumpbin
synced 2026-03-14 23:04:30 -07:00
fix(replace): no error returned when holder not found
This commit is contained in:
18
build.rs
18
build.rs
@@ -1,15 +1,13 @@
|
||||
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();
|
||||
{
|
||||
capnpc::CompilerCommand::new()
|
||||
.src_prefix("capnp")
|
||||
.file("capnp/plugin.capnp")
|
||||
.output_path("capnp")
|
||||
.run()
|
||||
.expect("schema compiler command");
|
||||
}
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user