File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,13 +100,13 @@ popd
100
100
101
101
echo -e " \n\nTesting no-std flags in various combinations"
102
102
for DIR in lightning lightning-invoice lightning-rapid-gossip-sync; do
103
- cargo test -p $DIR --verbose --color always --no-default-features --features no-std
103
+ [ " $RUSTC_MINOR_VERSION " -gt 50 ] && cargo test -p $DIR --verbose --color always --no-default-features --features no-std
104
104
# check if there is a conflict between no-std and the default std feature
105
- cargo test -p $DIR --verbose --color always --features no-std
105
+ [ " $RUSTC_MINOR_VERSION " -gt 50 ] && cargo test -p $DIR --verbose --color always --features no-std
106
106
done
107
107
for DIR in lightning lightning-invoice lightning-rapid-gossip-sync; do
108
108
# check if there is a conflict between no-std and the c_bindings cfg
109
- RUSTFLAGS=" --cfg=c_bindings" cargo test -p $DIR --verbose --color always --no-default-features --features=no-std
109
+ [ " $RUSTC_MINOR_VERSION " -gt 50 ] && RUSTFLAGS=" --cfg=c_bindings" cargo test -p $DIR --verbose --color always --no-default-features --features=no-std
110
110
done
111
111
RUSTFLAGS=" --cfg=c_bindings" cargo test --verbose --color always
112
112
You can’t perform that action at this time.
0 commit comments