Skip to content

Replace redundant extern "C" declarations with "use" statements

Fabio Valentini requested to merge (removed):main into main

This also works around rust / LLVM compiler toolchain issues that started happening with Rust 1.54, which trigger undefined behaviour in LLVM that sometimes causes buffer overruns or segfaults during compilation of sha1collisiondetection (and other affected crates).

c.f. https://bugzilla.redhat.com/show_bug.cgi?id=1990657 c.f. https://github.com/rust-lang/rust/issues/91050 c.f. https://github.com/rust-lang/rust/issues/87933 c.f. https://github.com/rust-lang/rust/issues/87813

Merge request reports