Skip to content

Commit

Permalink
Merge pull request #14 from erikkerber/ek/remove-warnings-as-errors-f…
Browse files Browse the repository at this point in the history
…eature-conflict

Remove swift.treat_warnings_as_errors for swift_library targets that suppress warnings
  • Loading branch information
tinder-maxwellelliott authored Jan 26, 2024
2 parents ec0886a + 82df201 commit 65a1774
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ swift_library(
copts = [
"-suppress-warnings",
],
features = [
"-swift.treat_warnings_as_errors",
],
visibility = ["//visibility:public"],
deps = [
":ArgumentParserToolInfo"
Expand All @@ -73,6 +76,9 @@ swift_library(
copts = [
"-suppress-warnings",
],
features = [
"-swift.treat_warnings_as_errors",
],
visibility = ["//visibility:public"],
)
""",
Expand All @@ -92,7 +98,12 @@ swift_library(
srcs = glob([
"Sources/CryptorECC/**/*.swift",
]),
copts = ["-suppress-warnings"],
copts = [
"-suppress-warnings",
],
features = [
"-swift.treat_warnings_as_errors",
],
module_name = "CryptorECC",
visibility = [
"//visibility:public",
Expand Down

0 comments on commit 65a1774

Please sign in to comment.