Skip to content

Don't unnecessarily export symbols

Neal H. Walfield requested to merge neal/fix-6 into main
  • Marking symbols with #[no_mangle] causes them to be exported. This means that rpm-sequoia, a crate that creates a C library, unnecessarily reexports symbols from this crate.

    • This crate doesn't create a C library, so there is no reason to export the symbols.

    • Remove the #[no_mangle] attribute.

    • At the same time remove the extern "C", which is unnecessary.

    • Fixes #6 (closed)

Merge request reports