]> git.bitcoin.ninja Git - rust-lightning/commit
Check for no-std compatibility across dependencies
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 4 Mar 2022 07:59:44 +0000 (23:59 -0800)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 9 Mar 2022 05:23:26 +0000 (23:23 -0600)
commitf041a64fca8ff76123adf5c49d34f7e32f9bcd26
tree52050f083638b26f2163f5240dec9ae5619bb075
parentd70292d6c8db9ee4ddc7889ddc4682b9cfc6be72
Check for no-std compatibility across dependencies

To ensure no-std is honored across dependencies, add a crate depending
on lightning crates supporting no-std. This should ensure any
regressions are caught. Otherwise, cargo doesn't seem to catch some
incompatibilities (e.g., f64::log10 unavailable in core) and seemingly
across other dependencies as describe here:

https://blog.dbrgn.ch/2019/12/24/testing-for-no-std-compatibility/
.github/workflows/build.yml
.gitignore
Cargo.toml
no-std-check/Cargo.toml [new file with mode: 0644]
no-std-check/src/lib.rs [new file with mode: 0644]