Skip to content

Commit 7390345

Browse files
author
Tamas Vajk
committed
Add norustfmt tag to compile_data_generated targets
The source is intentionally unformatted to test that rustfmt detects it. Without the norustfmt tag, CI's --config=rustfmt aspect catches the formatting issue during the build step, before the test runs.
1 parent 8dd4c70 commit 7390345

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/rustfmt/rustfmt_integration_test_suite.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def rustfmt_integration_test_suite(name, **kwargs):
117117
srcs = ["srcs/compile_data_generated/lib.rs"],
118118
compile_data = [":{}_compile_data_gen".format(variant)],
119119
edition = "2021",
120+
tags = ["norustfmt"],
120121
)
121122

122123
rustfmt_test(

0 commit comments

Comments
 (0)