Ver-stub: inject build info without triggering cargo rebuilds

⚓ Rust    📅 2025-12-13    👤 surdeus    👁️ 10      

surdeus

Warning

This post was published 34 days ago. The information described in this article may have changed.

Instead of injecting build info like git revisions or timestamps into the source code, which causes unnecessary rebuilds, you can inject it into a custom linker section. ver-stub provides a safe interface to read the linker section from within your program, and provides tools to write it, either from build.rs or with a cli tool.

1 post - 1 participant

Read full topic

🏷️ Rust_feed