Sorry Python but it is what it is.

You are viewing a single thread.
View all comments View context
1 point

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
2 points

Oh… I did mean sharing comptime artifacts

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 4.3K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments