Skip to content

Commit 802ed26

Browse files
build.py: deny warnings when running clippy (#324)
1 parent c8813f4 commit 802ed26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

uefi-test-runner/build.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ def clippy():
132132
'--workspace',
133133
# Enable all the features in the uefi package that enable more
134134
# code.
135-
'--features=alloc,exts,logger')
135+
'--features=alloc,exts,logger',
136+
# Treat all warnings as errors.
137+
'--', '-D', 'warnings')
136138

137139
def doc():
138140
'Generates documentation for the library crates.'

0 commit comments

Comments
 (0)