Improve diagnostics for Rust-enabled Linux builds #903

Closed
opened 2026-01-29 16:56:34 +00:00 by claunia · 2 comments
Owner

Originally created by @Akki2005 on GitHub (Jan 10, 2026).

While building CCExtractor on Linux/WSL with Rust enabled, the build can fail
late during linking if the Rust and C build state is inconsistent (e.g. partial
rebuilds or toolchain changes).

The resulting linker errors are hard to interpret for new contributors.
I’d like to work on improving early checks or clearer diagnostics for this case.

Originally created by @Akki2005 on GitHub (Jan 10, 2026). While building CCExtractor on Linux/WSL with Rust enabled, the build can fail late during linking if the Rust and C build state is inconsistent (e.g. partial rebuilds or toolchain changes). The resulting linker errors are hard to interpret for new contributors. I’d like to work on improving early checks or clearer diagnostics for this case.
Author
Owner

@Akki2005 commented on GitHub (Jan 10, 2026):

If this sounds reasonable, I can start with a small change such as:

  • a configure-time check to ensure Rust artifacts are present before linking, or
  • clearer error messages when Rust-enabled builds fail late during linking.

Happy to adjust approach based on maintainer preference.

@Akki2005 commented on GitHub (Jan 10, 2026): If this sounds reasonable, I can start with a small change such as: - a configure-time check to ensure Rust artifacts are present before linking, or - clearer error messages when Rust-enabled builds fail late during linking. Happy to adjust approach based on maintainer preference.
Author
Owner

@cfsmp3 commented on GitHub (Jan 18, 2026):

@Akki2005 Feel free to send a PR.
I'm closing this because it's not "user issue" - it's just an improvement for developers (which would be appreciated).

@cfsmp3 commented on GitHub (Jan 18, 2026): @Akki2005 Feel free to send a PR. I'm closing this because it's not "user issue" - it's just an improvement for developers (which would be appreciated).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#903