google / google/rust_icu

Fail to use this library on Fedora 41 & 42

Open
#312 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
140
Forks
34
Avg merge
5h 5m
Merged PRs (30d)
4

Description

## To Reproduce
The commands are tested on `podman run -it fedora:42` and also my host machine (41).

```
dnf in cargo libicu-devel clang-devel
cargo init testadskfj
cd testadskfj/
cargo add rust_icu_uloc # 5.0.0
cargo build
```

## Output
```
error[E0425]: cannot find function `u_strFromUTF8_76` in crate `$crate`
--> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rust_icu_ustring-5.0.0/src/lib.rs:161:13
|
161 | versioned_function!(u_strFromUTF8)(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `$crate`
|
= note: this error originates in the macro `versioned_function` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0425]: cannot find function `u_strFromUTF8_76` in crate `$crate`
--> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rust_icu_ustring-5.0.0/src/lib.rs:180:13
|
180 | versioned_function!(u_strFromUTF8)(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `$crate`
|
= note: this error originates in the macro `versioned_function` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0425]: cannot find function `u_strToUTF8_76` in crate `$crate`
--> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rust_icu_ustring-5.0.0/src/lib.rs:210:13
|
210 | versioned_function!(u_strToUTF8)(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `$crate`
|
= note: this error originates in the macro `versioned_function` (in Nightly builds, run with -Z macro-backtrace for more info)
...
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.