MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / main

Function main

src/expr/build.rs:12–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10use std::path::PathBuf;
11
12fn main() {
13 prost_build::Config::new()
14 .protoc_executable(mz_build_tools::protoc())
15 .extern_path(".mz_repr.adt.array", "::mz_repr::adt::array")
16 .extern_path(".mz_repr.adt.range", "::mz_repr::adt::range")
17 .extern_path(".mz_repr.strconv", "::mz_repr::strconv")
18 .type_attribute(".", "#[allow(missing_docs)]")
19 .btree_map(["."])
20 .bytes([".mz_expr.row.collection"])
21 .compile_protos(
22 &["expr/src/scalar.proto"],
23 &[PathBuf::from(".."), mz_build_tools::protoc_include()],
24 )
25 .unwrap_or_else(|e| panic!("{e}"))
26}

Callers

nothing calls this directly

Calls 3

protocFunction · 0.85
protoc_includeFunction · 0.85
bytesMethod · 0.45

Tested by

no test coverage detected