v help: add build-c help information on how to use brew for libgc (#12633)

pull/12638/head
Thomas Mangin 2021-11-30 17:39:27 +00:00 committed by GitHub
parent 758ba76d2b
commit 5e1cd13e39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -158,6 +158,9 @@ see also `v help build`.
https://github.com/ivmai/bdwgc https://github.com/ivmai/bdwgc
On Mac OS, it can be installed using homebrew (https://homebrew.sh/) with
`brew install libgc`.
Note, `-gc boehm` is complementary to -autofree. The Boehm garbage Note, `-gc boehm` is complementary to -autofree. The Boehm garbage
collector is conservative, and it may make your program significantly collector is conservative, and it may make your program significantly
slower if it does many small allocations in a loop. This option slower if it does many small allocations in a loop. This option