Skip to content

Commit

Permalink
Update diplomat (#5995)
Browse files Browse the repository at this point in the history
JS supports fallible constructors (but not named constructors). This
needs more refined annotations.


We don't need the diplomat update yet, but it's good practice to update
it whenever we have something big in the pipeline to avoid headaches on
future updates.
  • Loading branch information
Manishearth authored Jan 15, 2025
1 parent fc8240b commit f87c6b8
Show file tree
Hide file tree
Showing 331 changed files with 7,254 additions and 5,354 deletions.
12 changes: 4 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ icu_benchmark_macros = { path = "tools/benchmark/macros" }

# The version here can either be a `version = ".."` spec or `git = "https://github.com/rust-diplomat/diplomat", rev = ".."`
# Diplomat must be published preceding a new ICU4X release but may use git versions in between
diplomat = { version = "0.9.0", default-features = false }
diplomat-runtime = { version = "0.9.0", default-features = false }
diplomat_core = { version = "0.9.0", default-features = false }
diplomat-tool = { version = "0.9.0", default-features = false }
diplomat = { git = "https://github.com/rust-diplomat/diplomat", rev = "c94ac61c7fd41cc0db045c22b23f2b27052aaa67", default-features = false }
diplomat-runtime = { git = "https://github.com/rust-diplomat/diplomat", rev = "c94ac61c7fd41cc0db045c22b23f2b27052aaa67", default-features = false }
diplomat_core = { git = "https://github.com/rust-diplomat/diplomat", rev = "c94ac61c7fd41cc0db045c22b23f2b27052aaa67", default-features = false }
diplomat-tool = { git = "https://github.com/rust-diplomat/diplomat", rev = "c94ac61c7fd41cc0db045c22b23f2b27052aaa67", default-features = false }

# EXTERNAL DEPENDENCIES
#
Expand Down
12 changes: 6 additions & 6 deletions ffi/capi/bindings/demo_gen/CaseMapper.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ffi/capi/bindings/demo_gen/DateFormatter.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ffi/capi/bindings/demo_gen/DateTimeFormatter.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ffi/capi/bindings/demo_gen/GregorianDateFormatter.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ffi/capi/bindings/demo_gen/GregorianDateTimeFormatter.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ffi/capi/bindings/demo_gen/TimeFormatter.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions ffi/capi/bindings/demo_gen/TimeZoneIdMapper.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ffi/capi/bindings/demo_gen/TimeZoneInfo.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ffi/capi/bindings/demo_gen/TitlecaseMapper.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ffi/capi/bindings/demo_gen/ZonedDateTimeFormatter.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 18 additions & 12 deletions ffi/capi/bindings/js/AnyCalendarKind.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f87c6b8

Please sign in to comment.