File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/testutil Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ fun TestWriterDelegator.compileAndTest(
369
369
// cargo fmt errors are useless, ignore
370
370
}
371
371
372
- val env = Commands .cargoEnvDDeadCode (enableUnstableFlag)
372
+ val env = Commands .cargoEnvAllowDeadCode (enableUnstableFlag)
373
373
val testOutput = Commands .cargoTest(enableUnstableFlag).runCommand(baseDir, env)
374
374
if (runClippy) {
375
375
Commands .CargoClippy .runCommand(baseDir, env)
@@ -522,4 +522,4 @@ fun TestWriterDelegator.unitTest(test: Writable): TestWriterDelegator {
522
522
return this
523
523
}
524
524
525
- fun String.runWithWarnings (crate : Path , enableUnstableFlag : Boolean = true) = this .runCommand(crate, Commands .cargoEnvDWarnings (enableUnstableFlag))
525
+ fun String.runWithWarnings (crate : Path , enableUnstableFlag : Boolean = true) = this .runCommand(crate, Commands .cargoEnvDenyWarnings (enableUnstableFlag))
You can’t perform that action at this time.
0 commit comments