CI / test (push) Successful in 48s
makepkg's default `lto` option appends `-flto=auto` to CFLAGS, CXXFLAGS and
LDFLAGS. ring and secp256k1-sys compile their C through the `cc` crate, which
honours CFLAGS, so their objects became GCC slim-LTO bytecode. rustc's final
link never passes `-flto`, so GCC's LTO plugin did not run and lld reported
every C symbol as undefined:
undefined symbol: rustsecp256k1_v0_10_0_ec_seckey_verify
undefined symbol: ring_core_0_17_14__LIMB_is_zero
...
The AUR build failed while a plain cargo/meson build on the same machine (the
dev deploy, CI) linked fine, because only makepkg rewrites CFLAGS.
Set `options=('!lto')` in the stable, -git and working-tree PKGBUILDs. That
only turns off makepkg's C-flag-level LTO; Rust's own `lto = true` from
Cargo.toml is unaffected. Note the comment in AGENTS.md.