MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / pgxs_make_args

Function pgxs_make_args

xtask/src/extension_catalog.rs:1524–1531  ·  view source on GitHub ↗
(extension: &ExtensionCatalogEntry)

Source from the content-addressed store, hash-verified

1522}
1523
1524fn pgxs_make_args(extension: &ExtensionCatalogEntry) -> Vec<String> {
1525 match extension.id.as_str() {
1526 // AGE's graphid SQL is target-ABI sensitive. wasm32/WASIX has a 4-byte
1527 // Datum, so AGE must generate pass-by-reference graphid SQL.
1528 "age" => vec!["SIZEOF_DATUM=4".to_owned()],
1529 _ => Vec::new(),
1530 }
1531}
1532
1533fn extension_source_dir_for(id: &str, source_kind: &str) -> String {
1534 match source_kind {

Callers 1

build_specsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected