Unverified Commit 690be0f9 authored by Zelda Hessler's avatar Zelda Hessler Committed by GitHub
Browse files

run clippy with --all-features for codegen tests (#2963)

broken out from https://github.com/awslabs/smithy-rs/pull/2916

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
parent af444fbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -343,7 +343,7 @@ fun TestWriterDelegator.compileAndTest(
    val env = mapOf("RUSTFLAGS" to "-A dead_code")
    val testOutput = "cargo test".runCommand(baseDir, env)
    if (runClippy) {
        "cargo clippy".runCommand(baseDir, env)
        "cargo clippy --all-features".runCommand(baseDir, env)
    }
    return testOutput
}