Skip to content

Conversation

@lhecker
Copy link
Member

@lhecker lhecker commented Jun 18, 2025

This PR was tested on Ubuntu with:

EDIT_CFG_ICUUC_SONAME=libicuuc.so.74
EDIT_CFG_ICUI18N_SONAME=libicui18n.so.74
EDIT_CFG_ICU_RENAMING_VERSION=74
cargo build --config .cargo/release.toml --release

Search & Replace now works flawlessly. I hope that package maintainers
will be able to make use of this when ingesting future versions of Edit.

Closes #172

@lhecker lhecker force-pushed the dev/lhecker/linux-icu-soname branch from a36f3d6 to e6aad7c Compare June 18, 2025 14:35
This project _optionally_ depends on the ICU library for its Search and Replace functionality.
By default, the project will look for a SONAME without version suffix:
* Windows: `icuuc.dll`
* macOS: `libicuuc.dylib`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think macOS only has libicucore, and not uc/i18n... hmm

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it also exports all of them as C++ symbols, i.e. with underscore prefix.

@lhecker lhecker requested a review from DHowett June 19, 2025 19:48
@lhecker lhecker merged commit b277a1e into main Jun 19, 2025
3 checks passed
@lhecker lhecker deleted the dev/lhecker/linux-icu-soname branch June 19, 2025 21:26
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.

Linux: This operation requires the ICU library

2 participants