The compilation take a lot of time due to _build.rs_ script from a cargo-prosa package. This is visible through `cargo build --timings` <img width="1101" alt="compil_timings" src="https://github.com/user-attachments/assets/e99b3de4-780b-4274-b902-291347a701e2" /> The time, come from a sub package generated by the _build.rs_ script to generate configuration files. It need to be done in another way to gain time. One thing that could be done, is to do a macro to generate the configuration file.
Activity
reneca commentedon Jan 13, 2026
To improve this, I tried to create a link of the target/ folder to not recompile everything.
Unfortunately, it's not working. There is a lock.
But maybe we can use Rust Build Cache.
It'll specify the target-dir to be the same as the ProSA instance.
First we need to solve the #56