Skip to content

Commit

Permalink
Update bazel and rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac committed Feb 6, 2024
1 parent 7b75532 commit 74de23c
Show file tree
Hide file tree
Showing 7 changed files with 637 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ build --swiftcopt=-whole-module-optimization
build --per_file_copt=".*\.m$","@-fno-objc-msgsend-selector-stubs"
build --per_file_copt=".*\.mm$","@-fno-objc-msgsend-selector-stubs"

build --linkopt="-ld_classic"
#build --linkopt="-ld_classic"

build --features=debug_prefix_map_pwd_is_dot
build --features=swift.cacheable_swiftmodules
Expand All @@ -30,3 +30,4 @@ build --spawn_strategy=standalone
build --strategy=SwiftCompile=standalone
build --define RULES_SWIFT_BUILD_DUMMY_WORKER=1

build --noenable_bzlmod
6 changes: 6 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
###############################################################################
# Bazel now uses Bzlmod by default to manage external dependencies.
# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel.
#
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958
###############################################################################
Loading

0 comments on commit 74de23c

Please sign in to comment.