Skip to content

Commit

Permalink
Stop rebuilding sdk-lints all the time (#2861)
Browse files Browse the repository at this point in the history
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._
  • Loading branch information
jdisanti authored Jul 20, 2023
1 parent 5beee61 commit f310668
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion buildSrc/src/main/kotlin/RustBuildTool.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ private fun runCli(
}
}
.copyTo(action)
action.environment("RUSTFLAGS", "--cfg aws_sdk_unstable")
action.execute()
}
}
Expand Down

0 comments on commit f310668

Please sign in to comment.