You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that we don't have to have everything in our entire ecosystem
use the same `std`/`no-std` feature combinations we should start by
untangling our own features a bit.
This takes another step by removing the `no-std` feature entirely
from the `lightning-invoice` crate and removing all feature
implications on dependencies from the remaining `std` feature.
RUSTFLAGS="$RUSTFLAGS -A unused_variables -A unused_macros -A unused_imports -A dead_code" cargo check -p lightning --verbose --color always --features "$FEATURE"
78
78
done
79
79
80
+
echo -e "\n\nTesting no-std builds"
81
+
forDIRin lightning-invoice;do
82
+
cargo test -p $DIR --verbose --color always --no-default-features
83
+
# check if there is a conflict between no-std and the c_bindings cfg
84
+
RUSTFLAGS="$RUSTFLAGS --cfg=c_bindings" cargo test -p $DIR --verbose --color always --no-default-features
85
+
done
86
+
80
87
echo -e "\n\nTesting no-std flags in various combinations"
0 commit comments