Skip to content

Commit 31cf166

Browse files
committed
Swift: update fmt
1 parent e850a8a commit 31cf166

File tree

4 files changed

+5
-23
lines changed

4 files changed

+5
-23
lines changed

.bazelrc.internal

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ common --registry=https://bcr.bazel.build
1010
common --@rules_dotnet//dotnet/settings:strict_deps=false
1111

1212
build --@rules_python//python/config_settings:python_version=3.12
13+
14+
# required to compile fmt on windows
15+
build --copt=-DFMT_UNICODE=0

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ bazel_dep(name = "rules_shell", version = "0.5.0")
2323
bazel_dep(name = "bazel_skylib", version = "1.8.1")
2424
bazel_dep(name = "abseil-cpp", version = "20240116.1", repo_name = "absl")
2525
bazel_dep(name = "nlohmann_json", version = "3.11.3", repo_name = "json")
26-
bazel_dep(name = "fmt", version = "10.0.0")
26+
bazel_dep(name = "fmt", version = "12.1.0")
2727
bazel_dep(name = "rules_kotlin", version = "2.1.3-codeql.1")
2828
bazel_dep(name = "gazelle", version = "0.40.0")
2929
bazel_dep(name = "rules_dotnet", version = "0.19.2-codeql.1")

swift/logging/Formatters.h

Lines changed: 0 additions & 20 deletions
This file was deleted.

swift/logging/SwiftLogging.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99
#include <fmt/format.h>
1010
#include <fmt/chrono.h>
11-
12-
#include "swift/logging/Formatters.h"
11+
#include <fmt/std.h>
1312

1413
#include <binlog/binlog.hpp>
1514
#include <binlog/TextOutputStream.hpp>

0 commit comments

Comments
 (0)