Sorry Python but it is what it is.

you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 2 years ago (1 child)

Idk, maybe you can share the common packages across projects. (That can never go wrong, right? /s)

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago (1 child)

    Sources are shared, sharing compile-time artefacts is done within workspaces.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 years ago (1 child)

    Oh.. I did mean sharing comptime artifacts

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 years ago

    You can globally share compile artifacts by setting a global target directory in the global Cargo config.

    In $HOME/.cargo/config.toml:

    [build]
    target-dir = "/path/to/dir"
    

    The only problems I had when I did it where some cargo plugins and some dependencies with build.rs files that expected the target folder in it's usual location.

  • source
  • parent