proto/runtime.proto, the wire conversions and the validated RuntimeClient move out of strata-desktop-core so strata-next can use them; strata-desktop-core re-exports them unchanged. GrpcBackend implements the Backend contract by attaching to a runtime an operator already loaded (no Load/Unload RPC), re-reading epoch and handle before every generation, and ending a generation without a terminal event on any transport or frame error. 9 loopback HTTP/2 tests with a scripted runtime server. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
12 lines
387 B
Rust
12 lines
387 B
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
let mut config = tonic_prost_build::Config::new();
|
|
config.protoc_executable(protoc_bin_vendored::protoc_bin_path()?);
|
|
tonic_prost_build::configure().compile_with_config(
|
|
config,
|
|
&["proto/runtime.proto"],
|
|
&["proto"],
|
|
)?;
|
|
println!("cargo:rerun-if-changed=proto/runtime.proto");
|
|
Ok(())
|
|
}
|