15 lines
373 B
Rust
15 lines
373 B
Rust
use shadow_rs::{BuildPattern, ShadowBuilder};
|
|
|
|
fn main() {
|
|
capnpc::CompilerCommand::new()
|
|
.file("bot.capnp")
|
|
.file("user.capnp")
|
|
.run()
|
|
.expect("couldn't compile capnproto schemas");
|
|
|
|
ShadowBuilder::builder()
|
|
.build_pattern(BuildPattern::RealTime)
|
|
.build()
|
|
.expect("couldn't embed build time information");
|
|
}
|