You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-05 00:28:52 +02:00
Add meson unity build and tests.
This is immediately useful because it will detect any extern'd functions or variables that are not being used. It also detects functions or variables that are declared but not defined. If a FV/VR_EXTERN macro is missing it will be detected either because of a mismatch in the declaration/definition or because a new defined symbol will appear in the nm test. Eventually the unity build will be used to create a more optimized pgbackrest binary but that will need to wait.
This commit is contained in:
@ -13,7 +13,7 @@ Include the page checksum code
|
||||
#include "postgres/interface/pageChecksum.vendor.c.inc"
|
||||
|
||||
/**********************************************************************************************************************************/
|
||||
uint16_t
|
||||
FV_EXTERN uint16_t
|
||||
pgPageChecksum(unsigned char *page, uint32_t blockNo)
|
||||
{
|
||||
return pg_checksum_page((char *)page, blockNo);
|
||||
|
Reference in New Issue
Block a user