Skip to content

Commit 5d852d5

Browse files
authored
Update dependencies [AP-4083] (#1488)
# Description @swift-nav/algint-team Updates `rules_swiftnav` (incl swift-nav/rules_swiftnav#166) and `bazel`. # API compatibility API compatibility is kept, because only test dependencies are updated. ## API compatibility plan If the above is "Yes", please detail the compatibility (or migration) plan: n/a # JIRA Reference https://swift-nav.atlassian.net/browse/AP-4083
1 parent 0b0cdd2 commit 5d852d5

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.bazeliskrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
USE_BAZEL_VERSION=5.4.0
1+
USE_BAZEL_VERSION=6.5.0

WORKSPACE.bazel

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,22 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44

55
http_archive(
66
name = "rules_swiftnav",
7-
strip_prefix = "rules_swiftnav-cb82c790d50dd87f301df67b710161906dafb0c2",
8-
url = "https://github.com/swift-nav/rules_swiftnav/archive/cb82c790d50dd87f301df67b710161906dafb0c2.tar.gz",
7+
strip_prefix = "rules_swiftnav-c68035cad64215f6212974b57306f05f0d6015ef",
8+
url = "https://github.com/swift-nav/rules_swiftnav/archive/c68035cad64215f6212974b57306f05f0d6015ef.tar.gz",
9+
sha256 = "f5a6d31a16cd4f6efc96e43676d4d19c5c4e23332849a974cbd072c17490d141",
910
)
1011

1112
load(
1213
"@rules_swiftnav//cc:repositories.bzl",
1314
"register_swift_cc_toolchains",
1415
"swift_cc_toolchain",
16+
"x86_64_sysroot",
1517
)
1618

1719
swift_cc_toolchain()
1820

21+
x86_64_sysroot()
22+
1923
register_swift_cc_toolchains()
2024

2125
http_archive(

c/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@rules_swiftnav//cc:defs.bzl", "UNIT", "swift_c_library", "swift_cc_test")
1+
load("@rules_swiftnav//cc:defs.bzl", "UNIT", "swift_c_library", "swift_c_test", "swift_cc_test")
22
load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands")
33

44
SBP_INCLUDE = glob(["include/**/*.h"])
@@ -69,7 +69,7 @@ filegroup(
6969

7070
SBP_C_SOURCES = glob(["test/auto*.c"])
7171

72-
swift_cc_test(
72+
swift_c_test(
7373
name = "sbp-test",
7474
srcs = [
7575
"test/check_main.c",

0 commit comments

Comments
 (0)