summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-03-24 10:55:23 -0400
committerPeter Zhu <peter@peterzhu.ca>2025-03-25 08:49:31 -0400
commiteb3f73ae9c777f233af950c4779a0fb553a2c565 (patch)
treef1e3c068b381646dea1dda239b3aafdada74c125
parent1427629a5ff6e74518d25447ad19ce45c8338032 (diff)
[DOC] Use install-modular-gc in gc/README.md
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12976
-rw-r--r--gc/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc/README.md b/gc/README.md
index 838d2958db..102b24e24e 100644
--- a/gc/README.md
+++ b/gc/README.md
@@ -17,7 +17,7 @@ Two GC implementations are included in Ruby:
1. Configure Ruby with the `--with-modular-gc=<dir>` option, where `dir` is the directory you want to place the built GC libraries into.
2. Build Ruby as usual.
-3. Build your desired GC implementation with `make modular-gc MODULAR_GC=<impl>`. This will build the GC implementation and place the built library into the `dir` specified in step 1. `impl` can be one of:
+3. Build your desired GC implementation with `make install-modular-gc MODULAR_GC=<impl>`. This will build the GC implementation and place the built library into the `dir` specified in step 1. `impl` can be one of:
- `default`: The default GC that Ruby ships with.
- `mmtk`: The GC that uses [MMTk](https://www.mmtk.io/) as the back-end. See Ruby-specific details in the [ruby/mmtk](https://github.com/ruby/mmtk) repository.
4. Run your desired GC implementation by setting the `RUBY_GC_LIBRARY=<lib>` environment variable, where `lib` could be `default`, `mmtk`, or your own implementation (as long as you place it in the `dir` specified in step 1).