]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Impl Send+Sync for every trait, not just those with it explicit
authorMatt Corallo <git@bluematt.me>
Wed, 14 Apr 2021 02:58:12 +0000 (22:58 -0400)
committerMatt Corallo <git@bluematt.me>
Wed, 2 Jun 2021 16:25:20 +0000 (16:25 +0000)
commitd26e7c63d7321a7da2afd2efc52296e19ddd641b
tree42dea9bfdbc62649e58c07ac5171cd86b8a39ec9
parent56001280fb0fa4591492dc3766b8509dd51826e6
Impl Send+Sync for every trait, not just those with it explicit

Because Send+Sync are generated by the compiler for us, we don't
really know when we should or should not generate it. That said,
Send+Sync aren't exposed outside of Rust, so it only impacts
whether we can use a type when passed to Rust, not how users will
ultimately interact with types.
c-bindings-gen/src/main.rs