[bindings] Drop the lifetime bound on `Record` for bindings builds
authorMatt Corallo <git@bluematt.me>
Wed, 20 Dec 2023 05:17:43 +0000 (05:17 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 22 Apr 2024 21:57:48 +0000 (21:57 +0000)
commitd7e3cd50ad76a708702fe4bb1f8c2467258b030e
treeda777964065c3abcbfd23fbb7f5e2060b7f98db9
parent27e55190322546c639e0aefc0363e2f892d22677
[bindings] Drop the lifetime bound on `Record` for bindings builds

Because log `Record`s are now being passed by ownership to `log`,
the bindings get quite annoyed that there's a lifetime hanging
around. We already don't use this lifetime in bindings (the
`FormatArgs` is converted to a string and stored on the heap), so
we can just drop the lifetime, even though it requires some
macro'ing of the struct definition to do so.
lightning/src/util/logger.rs