Skip to content

Commit bcf4f71

Browse files
authored
Backport unicode-org#4615 (C++ header ambiguity fix) to 1.4 (unicode-org#4616)
1 parent 6d8029e commit bcf4f71

32 files changed

+138
-131
lines changed

.github/workflows/build-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
push:
1313
branches: [ main ]
1414
pull_request:
15-
branches: '*'
15+
branches: '**'
1616
workflow_dispatch:
1717
inputs:
1818
nightly:
@@ -426,6 +426,10 @@ jobs:
426426
run: cargo make ci-job-test-c
427427
env:
428428
CXX: "g++-11"
429+
- name: Test C++ with clang
430+
run: cargo make test-cpp
431+
env:
432+
CXX: "clang++"
429433

430434
# ci-job-test-js
431435
test-js:

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
with a lower Canonical Combining Class than the last character of the decomposition. (https://github.com/unicode-org/icu4x/pull/4530)
99
1010

11+
- Fix issue in C++ bindings where `diplomat::result::Ok` and `Err` have ambiguous template deduction errors in their constructors, on Clang. (https://github.com/unicode-org/icu4x/pull/4615)
12+
13+
1114
## icu4x 1.4 (Nov 16, 2023)
1215

1316
- General

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ icu_benchmark_macros = { path = "tools/benchmark/macros" }
233233
diplomat = "0.7"
234234
diplomat-runtime = "0.7"
235235
diplomat_core = "0.7"
236-
diplomat-tool = "0.7"
236+
diplomat-tool = "0.7.1"
237237

238238
# Size optimized builds
239239
[profile.release-opt-size]

ffi/capi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ edition.workspace = true
2323
homepage.workspace = true
2424
repository.workspace = true
2525
rust-version.workspace = true
26-
version.workspace = true
26+
version = "1.4.1"
2727

2828
[package.metadata.docs.rs]
2929
all-features = true

ffi/capi/cpp/include/ICU4XBcp47ToIanaMapper.hpp

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ffi/capi/cpp/include/ICU4XBidiParagraph.hpp

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ffi/capi/cpp/include/ICU4XCaseMapper.hpp

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ffi/capi/cpp/include/ICU4XComposingNormalizer.hpp

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ffi/capi/cpp/include/ICU4XCustomTimeZone.hpp

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)