Skip to content

Commit 8299d04

Browse files
authored
Merge branch 'lightningdevkit:main' into mhr/closure_reason_abandoned
2 parents 099617f + 1d0c6c6 commit 8299d04

File tree

152 files changed

+1586
-955
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+1586
-955
lines changed

ci/rustfmt.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ TMP_FILE=$(mktemp)
1515
find . -name '*.rs' -type f |sort >$TMP_FILE
1616
for file in $(comm -23 $TMP_FILE rustfmt_excluded_files); do
1717
echo "Checking formatting of $file"
18-
rustfmt $VERS --check $file
18+
rustfmt $VERS --edition 2021 --check $file
1919
done

fuzz/src/base32.rs

+13-7
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,35 @@ pub fn do_test(data: &[u8]) {
1616
if let Ok(s) = std::str::from_utf8(data) {
1717
let first_decoding = base32::Alphabet::RFC4648 { padding: true }.decode(s);
1818
if let Ok(first_decoding) = first_decoding {
19-
let encoding_response = base32::Alphabet::RFC4648 { padding: true }.encode(&first_decoding);
19+
let encoding_response =
20+
base32::Alphabet::RFC4648 { padding: true }.encode(&first_decoding);
2021
assert_eq!(encoding_response, s.to_ascii_uppercase());
21-
let second_decoding = base32::Alphabet::RFC4648 { padding: true }.decode(&encoding_response).unwrap();
22+
let second_decoding =
23+
base32::Alphabet::RFC4648 { padding: true }.decode(&encoding_response).unwrap();
2224
assert_eq!(first_decoding, second_decoding);
2325
}
2426
}
2527

2628
if let Ok(s) = std::str::from_utf8(data) {
2729
let first_decoding = base32::Alphabet::RFC4648 { padding: false }.decode(s);
2830
if let Ok(first_decoding) = first_decoding {
29-
let encoding_response = base32::Alphabet::RFC4648 { padding: false }.encode(&first_decoding);
31+
let encoding_response =
32+
base32::Alphabet::RFC4648 { padding: false }.encode(&first_decoding);
3033
assert_eq!(encoding_response, s.to_ascii_uppercase());
31-
let second_decoding = base32::Alphabet::RFC4648 { padding: false }.decode(&encoding_response).unwrap();
34+
let second_decoding =
35+
base32::Alphabet::RFC4648 { padding: false }.decode(&encoding_response).unwrap();
3236
assert_eq!(first_decoding, second_decoding);
3337
}
3438
}
35-
39+
3640
let encode_response = base32::Alphabet::RFC4648 { padding: false }.encode(&data);
37-
let decode_response = base32::Alphabet::RFC4648 { padding: false }.decode(&encode_response).unwrap();
41+
let decode_response =
42+
base32::Alphabet::RFC4648 { padding: false }.decode(&encode_response).unwrap();
3843
assert_eq!(data, decode_response);
3944

4045
let encode_response = base32::Alphabet::RFC4648 { padding: true }.encode(&data);
41-
let decode_response = base32::Alphabet::RFC4648 { padding: true }.decode(&encode_response).unwrap();
46+
let decode_response =
47+
base32::Alphabet::RFC4648 { padding: true }.decode(&encode_response).unwrap();
4248
assert_eq!(data, decode_response);
4349
}
4450

fuzz/src/bin/base32_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/bech32_parse_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/bolt11_deser_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/chanmon_consistency_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/chanmon_deser_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/fromstr_to_netaddress_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/full_stack_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/indexedmap_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/invoice_deser_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/invoice_request_deser_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_accept_channel_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_accept_channel_v2_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_announcement_signatures_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_channel_announcement_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_channel_details_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_channel_ready_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_channel_reestablish_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_channel_update_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_closing_signed_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_commitment_signed_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_decoded_onion_error_packet_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_error_message_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_funding_created_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_funding_signed_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_gossip_timestamp_filter_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_init_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_node_announcement_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_open_channel_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_open_channel_v2_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_ping_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_pong_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_query_channel_range_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_query_short_channel_ids_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_reply_channel_range_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_reply_short_channel_ids_end_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_revoke_and_ack_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_shutdown_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_splice_ack_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_splice_locked_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_splice_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_stfu_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_tx_abort_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

fuzz/src/bin/msg_tx_ack_rbf_target.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// To modify it, modify target_template.txt and run gen_target.sh instead.
1212

1313
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
14+
#![cfg_attr(rustfmt, rustfmt_skip)]
1415

1516
#[cfg(not(fuzzing))]
1617
compile_error!("Fuzz targets need cfg=fuzzing");

0 commit comments

Comments
 (0)