pgcentralfoundation / pgrx

Build Postgres Extensions with Rust!
Other
3.7k stars 249 forks source link

fix warnings #1948

Closed usamoi closed 2 days ago

usamoi commented 2 days ago
  1. unexpected_cfgs warnings are emitted for extension crates by latest nightly rustc, and it's annoying (pgrx_embed in pgrx_embed, and Pg_magic_func if extension does not support all postgres major versions)
  2. PanicInfo warnings are emitted by latest stable rustc while using local pgrx as a patch
  3. static_mut_refs warnings are emitted by latest nightly rustc while using local pgrx as a patch