[Bug 256099] lang/rust: Reduce memory usage/pressure

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 May 2021 11:54:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256099

            Bug ID: 256099
           Summary: lang/rust: Reduce memory usage/pressure
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rust@FreeBSD.org
          Reporter: daniel.engberg.lists@pyret.net
          Assignee: rust@FreeBSD.org
             Flags: maintainer-feedback?(rust@FreeBSD.org)

During some build stages rust/cargo eats a lot of memory using its default
settings making it more or less not viable for low/mid-rage systems.

Can we consider setting cogegen-units to 1 or add a toggle for it and also
perhaps parallel compiling?
Ref: https://reviews.freebsd.org/D30099#677659

-- 
You are receiving this mail because:
You are the assignee for the bug.