freebsd-ports/lang/rust
Tobias Kortkamp 294f0c5c20
lang/rust-nightly: Try to reduce memory usage/pressure
Try to reduce memory usage/pressure by only using one code generation
unit.

"This flag [codegen-units] controls how many code generation units
the crate is split into.  It takes an integer greater than 0.

When a crate is split into multiple codegen units, LLVM is able to
process them in parallel.  Increasing parallelism may speed up
compile times, but may also produce slower code.  Setting this to
1 may improve the performance of generated code, but may be slower
to compile."

https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units

PR:		256099
Suggested by:	Daniel Engberg
2021-06-14 22:51:11 +02:00
..
files lang/rust: Update to 1.52.1 2021-05-11 19:29:27 +02:00
distinfo lang/rust: Update to 1.52.1 2021-05-11 19:29:27 +02:00
Makefile lang/rust-nightly: Try to reduce memory usage/pressure 2021-06-14 22:51:11 +02:00
pkg-descr
update.sh lang/rust: Update to 1.52.1 2021-05-11 19:29:27 +02:00