Sorry Python but it is what it is.

  • @someacnt
    link
    28 months ago

    Oh… I did mean sharing comptime artifacts

    • @Anafabula@discuss.tchncs.de
      link
      fedilink
      28 months 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.