]> git.bitcoin.ninja Git - rust-lightning/commit
Do not bound callbacks by `Send` when building for `no-std`
authorMatt Corallo <git@bluematt.me>
Wed, 15 Mar 2023 17:43:29 +0000 (17:43 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 3 Apr 2023 16:49:54 +0000 (16:49 +0000)
commit328407351c6aeb84e9407281ec5d35b1a4690650
treeccb827a842e2660dad511a7adbe2d763514b7f82
parenta1b5a1bba38e0a4ab08603adbcf9e54f27e86f19
Do not bound callbacks by `Send` when building for `no-std`

`Send` is rather useless on a `no-std` target - we don't have
threads and are just needlessly restricting ourselves, so here we
skip it for the wakers callback.
lightning/src/util/wakers.rs