A few comments on rust walproposer build.

This commit is contained in:
Arseny Sher
2023-12-12 00:22:23 +03:00
committed by Arseny Sher
parent bd1cb1b217
commit e62569a878
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
//! Links with walproposer, pgcommon, pgport and runs bindgen on walproposer.h
//! to generate Rust bindings for it.
use std::{env, path::PathBuf, process::Command};
use anyhow::{anyhow, Context};

View File

@@ -1,3 +1,6 @@
//! A C-Rust shim: defines implementation of C walproposer API, assuming wp
//! callback_data stores Box to some Rust implementation.
#![allow(dead_code)]
use std::ffi::CStr;