Fork of daniellemaywood.uk/gleam — Wasm codegen work
1/// `prost_build` generates files in the output directory, which means that if we want
2/// to use it, we would need the protoc compiler as a build dependency.
3/// To get around this, we need run the build script and manually copy the generated files
4/// into the `src` folder. To do so, uncomment the below lines, then copy the files from the
5/// output directory into the `src/proto` folder. The path to the output directory
6/// will be printed in the terminal.
7///
8fn main() {
9 // prost_build::compile_protos(
10 // &[
11 // "proto/signed.proto",
12 // "proto/package.proto",
13 // "proto/versions.proto",
14 // ],
15 // &["proto/"],
16 // )
17 // .expect("Failed to generate prost code from .proto files");
18
19 // println!(
20 // "cargo::warning=Regenerated proto files, which must be manually copied into the `src` directory. Generated files can be found in {}",
21 // std::env::var("OUT_DIR").unwrap_or_default()
22 // );
23}