Skip to content

Commit 2bcdad7

Browse files
committed
rustfmt: fuzz/src/bin/*
1 parent 6cd3cb2 commit 2bcdad7

File tree

64 files changed

+63
-63
lines changed

Some content is hidden

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

64 files changed

+63
-63
lines changed

fuzz/src/bin/base32_target.rs

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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)