Skip to content

Import darts-clone 0.32h from BCR with OpenCC patch - #1386

Merged
frankslin merged 4 commits into
BYVoid:masterfrom
frankslin:patch-darts
Jul 2, 2026
Merged

frankslin merged 4 commits into
BYVoid:masterfrom
frankslin:patch-darts

Conversation

@frankslin

@frankslin frankslin commented Jul 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Switch darts-clone from local_path_override to the BCR module at 0.32h
  • Add patches/darts-clone-opencc.patch (single_version_override, patch_strip = 1) covering
    three local modifications:
    • BUILD.bazel: add all_files filegroup
    • MODULE.bazel: shorten docstring; bump rules_cc to 0.2.20
    • include/darts.h: uint32_t id_type, copy_array(), validate()
  • deps/darts-clone-0.32h/ stays in-tree as reference; no behaviour change

Test plan

  • bazel build //... green
  • bazel test //... green

@frankslin
frankslin marked this pull request as draft July 2, 2026 07:04
Replace local_path_override with the BCR module and a
single_version_override patch that captures the three local
modifications: BUILD filegroup target, rules_cc 0.2.20, and the
darts.h changes (uint32_t id_type, copy_array, validate).
@frankslin
frankslin marked this pull request as ready for review July 2, 2026 07:10
frankslin added 3 commits July 2, 2026 00:17
- Keep unsigned int id_type

  unsigned int is 32-bit on every supported target, so matching upstream
  exactly avoids a gratuitous divergence. Also drop the MODULE.bazel
  docstring change that added no functional value.

- Drop docstring edit

- Drop unused all_files filegroup from darts-clone patch
@frankslin
frankslin merged commit 3895952 into BYVoid:master Jul 2, 2026
33 checks passed
@frankslin
frankslin deleted the patch-darts branch July 2, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant