Skip to content

Improve compil time of cargo-prosa package #19

Open

Description

@reneca

The compilation take a lot of time due to build.rs script from a cargo-prosa package.

This is visible through cargo build --timings
compil_timings

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

  1. reneca commented on Jan 13, 2026

    @reneca
    ContributorAuthor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions