Skip to content

Commit e1e2aa9

Browse files
committed
Add CONFIG_RUST_BUILD_ASSERT_* to CI configs
Signed-off-by: Gary Guo <gary@garyguo.net>
1 parent 6e685cb commit e1e2aa9

10 files changed

+17
-0
lines changed

Diff for: .github/workflows/kernel-arm-debug.config

+2
Original file line numberDiff line numberDiff line change
@@ -1708,5 +1708,7 @@ CONFIG_RUST_OPT_LEVEL_2=y
17081708
# CONFIG_RUST_OPT_LEVEL_3 is not set
17091709
# CONFIG_RUST_OPT_LEVEL_S is not set
17101710
# CONFIG_RUST_OPT_LEVEL_Z is not set
1711+
# CONFIG_RUST_BUILD_ASSERT_IGNORE is not set
1712+
CONFIG_RUST_BUILD_ASSERT_DENY=y
17111713
# end of Rust hacking
17121714
# end of Kernel hacking

Diff for: .github/workflows/kernel-arm-release.config

+2
Original file line numberDiff line numberDiff line change
@@ -1666,5 +1666,7 @@ CONFIG_RUST_OPT_LEVEL_SIMILAR_AS_CHOSEN_FOR_C=y
16661666
# CONFIG_RUST_OPT_LEVEL_3 is not set
16671667
# CONFIG_RUST_OPT_LEVEL_S is not set
16681668
# CONFIG_RUST_OPT_LEVEL_Z is not set
1669+
# CONFIG_RUST_BUILD_ASSERT_IGNORE is not set
1670+
CONFIG_RUST_BUILD_ASSERT_DENY=y
16691671
# end of Rust hacking
16701672
# end of Kernel hacking

Diff for: .github/workflows/kernel-arm64-debug.config

+2
Original file line numberDiff line numberDiff line change
@@ -1466,5 +1466,7 @@ CONFIG_RUST_OPT_LEVEL_1=y
14661466
# CONFIG_RUST_OPT_LEVEL_3 is not set
14671467
# CONFIG_RUST_OPT_LEVEL_S is not set
14681468
# CONFIG_RUST_OPT_LEVEL_Z is not set
1469+
# CONFIG_RUST_BUILD_ASSERT_IGNORE is not set
1470+
CONFIG_RUST_BUILD_ASSERT_DENY=y
14691471
# end of Rust hacking
14701472
# end of Kernel hacking

Diff for: .github/workflows/kernel-arm64-release.config

+2
Original file line numberDiff line numberDiff line change
@@ -1383,5 +1383,7 @@ CONFIG_RUST_OPT_LEVEL_SIMILAR_AS_CHOSEN_FOR_C=y
13831383
# CONFIG_RUST_OPT_LEVEL_3 is not set
13841384
# CONFIG_RUST_OPT_LEVEL_S is not set
13851385
# CONFIG_RUST_OPT_LEVEL_Z is not set
1386+
# CONFIG_RUST_BUILD_ASSERT_IGNORE is not set
1387+
CONFIG_RUST_BUILD_ASSERT_DENY=y
13861388
# end of Rust hacking
13871389
# end of Kernel hacking

Diff for: .github/workflows/kernel-ppc64le-debug.config

+1
Original file line numberDiff line numberDiff line change
@@ -1588,5 +1588,6 @@ CONFIG_RUST_OPT_LEVEL_0=y
15881588
# CONFIG_RUST_OPT_LEVEL_3 is not set
15891589
# CONFIG_RUST_OPT_LEVEL_S is not set
15901590
# CONFIG_RUST_OPT_LEVEL_Z is not set
1591+
CONFIG_RUST_BUILD_ASSERT_IGNORE=y
15911592
# end of Rust hacking
15921593
# end of Kernel hacking

Diff for: .github/workflows/kernel-ppc64le-release.config

+2
Original file line numberDiff line numberDiff line change
@@ -1491,5 +1491,7 @@ CONFIG_RUST_OPT_LEVEL_SIMILAR_AS_CHOSEN_FOR_C=y
14911491
# CONFIG_RUST_OPT_LEVEL_3 is not set
14921492
# CONFIG_RUST_OPT_LEVEL_S is not set
14931493
# CONFIG_RUST_OPT_LEVEL_Z is not set
1494+
# CONFIG_RUST_BUILD_ASSERT_IGNORE is not set
1495+
CONFIG_RUST_BUILD_ASSERT_DENY=y
14941496
# end of Rust hacking
14951497
# end of Kernel hacking

Diff for: .github/workflows/kernel-riscv64-debug.config

+1
Original file line numberDiff line numberDiff line change
@@ -1317,5 +1317,6 @@ CONFIG_RUST_OPT_LEVEL_0=y
13171317
# CONFIG_RUST_OPT_LEVEL_3 is not set
13181318
# CONFIG_RUST_OPT_LEVEL_S is not set
13191319
# CONFIG_RUST_OPT_LEVEL_Z is not set
1320+
CONFIG_RUST_BUILD_ASSERT_IGNORE=y
13201321
# end of Rust hacking
13211322
# end of Kernel hacking

Diff for: .github/workflows/kernel-riscv64-release.config

+2
Original file line numberDiff line numberDiff line change
@@ -1231,5 +1231,7 @@ CONFIG_RUST_OPT_LEVEL_SIMILAR_AS_CHOSEN_FOR_C=y
12311231
# CONFIG_RUST_OPT_LEVEL_3 is not set
12321232
# CONFIG_RUST_OPT_LEVEL_S is not set
12331233
# CONFIG_RUST_OPT_LEVEL_Z is not set
1234+
# CONFIG_RUST_BUILD_ASSERT_IGNORE is not set
1235+
CONFIG_RUST_BUILD_ASSERT_DENY=y
12341236
# end of Rust hacking
12351237
# end of Kernel hacking

Diff for: .github/workflows/kernel-x86_64-debug.config

+1
Original file line numberDiff line numberDiff line change
@@ -1542,5 +1542,6 @@ CONFIG_RUST_OPT_LEVEL_0=y
15421542
# CONFIG_RUST_OPT_LEVEL_3 is not set
15431543
# CONFIG_RUST_OPT_LEVEL_S is not set
15441544
# CONFIG_RUST_OPT_LEVEL_Z is not set
1545+
CONFIG_RUST_BUILD_ASSERT_IGNORE=y
15451546
# end of Rust hacking
15461547
# end of Kernel hacking

Diff for: .github/workflows/kernel-x86_64-release.config

+2
Original file line numberDiff line numberDiff line change
@@ -1433,5 +1433,7 @@ CONFIG_RUST_OPT_LEVEL_SIMILAR_AS_CHOSEN_FOR_C=y
14331433
# CONFIG_RUST_OPT_LEVEL_3 is not set
14341434
# CONFIG_RUST_OPT_LEVEL_S is not set
14351435
# CONFIG_RUST_OPT_LEVEL_Z is not set
1436+
# CONFIG_RUST_BUILD_ASSERT_IGNORE is not set
1437+
CONFIG_RUST_BUILD_ASSERT_DENY=y
14361438
# end of Rust hacking
14371439
# end of Kernel hacking

0 commit comments

Comments
 (0)