Skip to content

regression: multiple definitions of function #123289

Closed
@Mark-Simulacrum

Description

@Mark-Simulacrum
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libavif_parse-3944f88254156a01.rlib(avif_parse-3944f88254156a01.avif_parse.f31058791515eadf-cgu.3.rcgu.o): in function `avif_parse':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/avif-parse-0.13.2/src/c_api.rs:27: multiple definition of `avif_parse'; /opt/rustwide/target/debug/deps/libavif_parse-8988254f09aeef86.rlib(avif_parse-8988254f09aeef86.avif_parse.d6c78051b3aeaa35-cgu.3.rcgu.o):/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/avif-parse-1.0.0/src/c_api.rs:27: first defined here
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libavif_parse-3944f88254156a01.rlib(avif_parse-3944f88254156a01.avif_parse.f31058791515eadf-cgu.3.rcgu.o): in function `core::ptr::const_ptr::<impl *const T>::is_null::runtime_impl':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/avif-parse-0.13.2/src/c_api.rs:50: multiple definition of `avif_data_free'; /opt/rustwide/target/debug/deps/libavif_parse-8988254f09aeef86.rlib(avif_parse-8988254f09aeef86.avif_parse.d6c78051b3aeaa35-cgu.3.rcgu.o):/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/avif-parse-1.0.0/src/c_api.rs:50: first defined here
[INFO] [stdout]           collect2: error: ld returned 1 exit status

Metadata

Metadata

Assignees

Labels

A-linkageArea: linking into static, shared libraries and binariesT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions