[Bazel] Don't fail the build on usage of deprecated APIs
authorGeoffrey Martin-Noble <gcmn@google.com>
Tue, 1 Feb 2022 01:50:59 +0000 (17:50 -0800)
committerGeoffrey Martin-Noble <gcmn@google.com>
Tue, 1 Feb 2022 02:09:44 +0000 (18:09 -0800)
commitef72739eac18a92dac587e56a39addf0ec9bb05e
treec12050788b207950bc63eea3ff9716fce108e646
parent1194b9cdda30df3b76f8dc932d438dc1b3f3ed6c
[Bazel] Don't fail the build on usage of deprecated APIs

Build failures are not a particularly helpful way to enforce not using
deprecated APIs and that isn't the point of the Bazel build.

At the same time, this removes `-Wno-unused` this is a check that we do
enforce in the Google internal build and so are ok maintaining in our
maintenance of the upstream Bazel build (the comment about not wanting
to do so was from a time when this was in a separate repository and I was
the only one maintaining it).

Differential Revision: https://reviews.llvm.org/D118671
utils/bazel/.bazelrc