Skip to content

Commit b9c52f6

Browse files
committed
rustfmt: fuzz/src/msg_targets/*
1 parent 9db52b6 commit b9c52f6

Some content is hidden

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

50 files changed

+141
-101
lines changed

fuzz/src/msg_targets/gen_target.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ GEN_TEST() {
77
echo "pub mod $tn;" >> mod.rs
88
}
99

10-
echo "mod utils;" > mod.rs
10+
{
11+
echo "#![cfg_attr(rustfmt, rustfmt_skip)]"
12+
echo "mod utils;"
13+
} > mod.rs
1114

1215
# Note when adding new targets here you should add a similar line in src/bin/gen_target.sh
1316

fuzz/src/msg_targets/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![cfg_attr(rustfmt, rustfmt_skip)]
12
mod utils;
23
pub mod msg_accept_channel;
34
pub mod msg_announcement_signatures;

fuzz/src/msg_targets/msg_accept_channel.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// This file is auto-generated by gen_target.sh based on msg_target_template.txt
1111
// To modify it, modify msg_target_template.txt and run gen_target.sh instead.
1212

13+
#![cfg_attr(rustfmt, rustfmt_skip)]
14+
1315
use crate::msg_targets::utils::VecWriter;
1416
use crate::utils::test_logger;
1517

fuzz/src/msg_targets/msg_accept_channel_v2.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// This file is auto-generated by gen_target.sh based on msg_target_template.txt
1111
// To modify it, modify msg_target_template.txt and run gen_target.sh instead.
1212

13+
#![cfg_attr(rustfmt, rustfmt_skip)]
14+
1315
use crate::msg_targets::utils::VecWriter;
1416
use crate::utils::test_logger;
1517

fuzz/src/msg_targets/msg_announcement_signatures.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// This file is auto-generated by gen_target.sh based on msg_target_template.txt
1111
// To modify it, modify msg_target_template.txt and run gen_target.sh instead.
1212

13+
#![cfg_attr(rustfmt, rustfmt_skip)]
14+
1315
use crate::msg_targets::utils::VecWriter;
1416
use crate::utils::test_logger;
1517

fuzz/src/msg_targets/msg_channel_announcement.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// This file is auto-generated by gen_target.sh based on msg_target_template.txt
1111
// To modify it, modify msg_target_template.txt and run gen_target.sh instead.
1212

13+
#![cfg_attr(rustfmt, rustfmt_skip)]
14+
1315
use crate::msg_targets::utils::VecWriter;
1416
use crate::utils::test_logger;
1517

fuzz/src/msg_targets/msg_channel_details.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// This file is auto-generated by gen_target.sh based on msg_target_template.txt
1111
// To modify it, modify msg_target_template.txt and run gen_target.sh instead.
1212

13+
#![cfg_attr(rustfmt, rustfmt_skip)]
14+
1315
use crate::msg_targets::utils::VecWriter;
1416
use crate::utils::test_logger;
1517

fuzz/src/msg_targets/msg_channel_ready.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// This file is auto-generated by gen_target.sh based on msg_target_template.txt
1111
// To modify it, modify msg_target_template.txt and run gen_target.sh instead.
1212

13+
#![cfg_attr(rustfmt, rustfmt_skip)]
14+
1315
use crate::msg_targets::utils::VecWriter;
1416
use crate::utils::test_logger;
1517

fuzz/src/msg_targets/msg_channel_reestablish.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// This file is auto-generated by gen_target.sh based on msg_target_template.txt
1111
// To modify it, modify msg_target_template.txt and run gen_target.sh instead.
1212

13+
#![cfg_attr(rustfmt, rustfmt_skip)]
14+
1315
use crate::msg_targets::utils::VecWriter;
1416
use crate::utils::test_logger;
1517

fuzz/src/msg_targets/msg_channel_update.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// This file is auto-generated by gen_target.sh based on msg_target_template.txt
1111
// To modify it, modify msg_target_template.txt and run gen_target.sh instead.
1212

13+
#![cfg_attr(rustfmt, rustfmt_skip)]
14+
1315
use crate::msg_targets::utils::VecWriter;
1416
use crate::utils::test_logger;
1517

0 commit comments

Comments
 (0)