Skip to content

Commit

Permalink
To always link swift-atomics.
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliu committed Dec 10, 2024
1 parent ed8d42f commit ac2de5f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions external/swift-atomics.BUILD
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

package(
default_visibility = ["//visibility:public"],
)

cc_library(
name = "_AtomicsShims",
srcs = ["Sources/_AtomicsShims/src/_AtomicsShims.c"],
Expand All @@ -20,7 +16,9 @@ swift_library(
"Sources/Atomics/**/*.swift",
]),
module_name = "Atomics",
visibility = ["//visibility:public"],
deps = [
":_AtomicsShims",
],
alwayslink = True,
)

0 comments on commit ac2de5f

Please sign in to comment.