Does not build in OpenSuSe when versioned_function is used
- Dominant language
- Rust
- Stars
- 140
- Forks
- 34
- Avg merge
- 5h 5m
- Merged PRs (30d)
- 4
Description
I'm trying to port Rust software to Opensuse
One of the crates uses rust_icu_sys directly
When any code tries to use the macro `versioned_function!` with some ICU symbol, a build error appears:
```
error[E0425]: cannot find function `ucol_strcoll_65` in crate `$crate`
--> ...
|
322 | let result = versioned_function!(ucol_strcoll)(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `ucol_strcoll_65_1`
```
It seems that on opensuse ICU defines it own symbols with both MAJOR and MINOR versions included in the name of the symbol, however the rust_icu_sys crate uses only MAJOR version suffix
Contributor guide
Assessment
This issue has not been assessed yet.