Skip to content

Fail to use this library on Fedora 41 & 42 #312

@madonuko

Description

@madonuko

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)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions