[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>
Wed, 24 Jan 2024 23:17:43 +0000 (23:17 +0000)
commite5c0c62c178a33957d9dac13c74a37bf97d618cd
tree31ae0f66f5fa75a062d1923d5d7153aeff735fc8
parent76fff953bd2cc86a932500036bb72a221ac31808
[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