From f310668417b0904d59dadbec0360440d90c1ede5 Mon Sep 17 00:00:00 2001 From: John DiSanti Date: Thu, 20 Jul 2023 06:15:34 -0700 Subject: [PATCH] Stop rebuilding `sdk-lints` all the time (#2861) I noticed `sdk-lints` was getting recompiled just about every time I ran `git commit` as part of the pre-commit hooks. It looks like a compiler flag was added to the `ExecRustBuildTool` task type that isn't actually used by any tools. Removing it should eliminate compiler flag conflicts between the gradle targets and pre-commit. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ --- buildSrc/src/main/kotlin/RustBuildTool.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/RustBuildTool.kt b/buildSrc/src/main/kotlin/RustBuildTool.kt index b8a1a15fb..1e6799564 100644 --- a/buildSrc/src/main/kotlin/RustBuildTool.kt +++ b/buildSrc/src/main/kotlin/RustBuildTool.kt @@ -28,7 +28,6 @@ private fun runCli( } } .copyTo(action) - action.environment("RUSTFLAGS", "--cfg aws_sdk_unstable") action.execute() } }