]> git.bitcoin.ninja Git - ldk-c-bindings/commitdiff
Drop allow_wallclock_use feature and use std/no-std directly
authorMatt Corallo <git@bluematt.me>
Sat, 18 Dec 2021 02:06:00 +0000 (02:06 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 19 Dec 2021 23:58:04 +0000 (23:58 +0000)
genbindings.sh

index 8d4d72699955ee19d12b948b26643dbd31537857..d29d3407a85aeff99293903218839dd09d987813 100755 (executable)
@@ -158,11 +158,11 @@ function drop_crate() {
 
 echo > /tmp/crate-source.txt
 if [ "$2" = "true" ]; then
-       add_crate lightning lightning --features=allow_wallclock_use ', features = ["allow_wallclock_use"]'
+       add_crate lightning lightning --features=std ', features = ["std"]'
        add_crate "lightning-persister" "lightning_persister"
        add_crate "lightning-background-processor" "lightning_background_processor"
 else
-       add_crate lightning lightning
+       add_crate lightning lightning --features=no-std ', features = ["no-std"]'
        drop_crate "lightning-persister"
        drop_crate "lightning-background-processor"
 fi