]> git.bitcoin.ninja Git - rust-lightning/commit
Remove uneccessary `std` bounds on many tests 2024-08-feature-cleanup
authorMatt Corallo <git@bluematt.me>
Sat, 17 Aug 2024 21:23:16 +0000 (21:23 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 21 Aug 2024 14:11:01 +0000 (14:11 +0000)
commit11ab302087622b546d116fc9679f601667d18c4d
tree6d4461374fd9b8091178896ae7182632d9b0b74e
parent5412784893fe31358e82a451f6c207005437cff4
Remove uneccessary `std` bounds on many tests

We never actually build with `#![no_std]` in tests as Rust does
not support it. Thus, many tests have spurious `std` feature gates
when they run just fine without them. Here we remove those gates,
though note that tests that depend on behavior elsewhere in the
codebase which is `std`-gated obviously need to retain their
feature gates.
lightning/src/ln/bolt11_payment.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/invoice_utils.rs
lightning/src/onion_message/functional_tests.rs
lightning/src/routing/router.rs
lightning/src/util/test_utils.rs
lightning/src/util/wakers.rs