File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/testutil Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,13 +47,13 @@ private object Commands {
47
47
private const val cfgUnstable = " --cfg aws_sdk_unstable"
48
48
fun func (s : String , add : String , flag : Boolean ): String = if (flag) { " $s $add " } else { s }
49
49
50
- fun cargoEnvDWarnings (enableUnstable : Boolean ): Map <String , String > {
50
+ fun cargoEnvDenyWarnings (enableUnstable : Boolean ): Map <String , String > {
51
51
return mapOf (
52
- " RUSTFLAGS" to func(" -A dead_code " , cfgUnstable, enableUnstable),
52
+ " RUSTFLAGS" to func(" -D warnings " , cfgUnstable, enableUnstable),
53
53
)
54
54
}
55
55
56
- fun cargoEnvDDeadCode (enableUnstable : Boolean ): Map <String , String > {
56
+ fun cargoEnvAllowDeadCode (enableUnstable : Boolean ): Map <String , String > {
57
57
return mapOf (
58
58
" RUSTFLAGS" to func(" -A dead_code" , cfgUnstable, enableUnstable),
59
59
)
You can’t perform that action at this time.
0 commit comments