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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 May 2021 11:54:28 +0000
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_at_FreeBSD.org
          Reporter: daniel.engberg.lists_at_pyret.net
          Assignee: rust_at_FreeBSD.org
             Flags: maintainer-feedback?(rust_at_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.
Received on Sun May 23 2021 - 11:54:28 UTC

Original text of this message