Skip to content

Commit

Permalink
[Feature #19442] Remove USE_RINCGC flag
Browse files Browse the repository at this point in the history
Ruby doesn't compile when this is set to 0. Let's remove it.
  • Loading branch information
eightbitraptor committed Mar 16, 2023
1 parent 0b303c6 commit b3a2716
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/compilers.yml
Expand Up @@ -165,7 +165,6 @@ jobs:
- { name: USE_FLONUM=0, env: { cppflags: '-DUSE_FLONUM=0' } }
# - { name: USE_GC_MALLOC_OBJ_INFO_DETAILS, env: { cppflags: '-DUSE_GC_MALLOC_OBJ_INFO_DETAILS' } }
- { name: USE_LAZY_LOAD, env: { cppflags: '-DUSE_LAZY_LOAD' } }
# - { name: USE_RINCGC=0, env: { cppflags: '-DUSE_RINCGC=0' } }
# - { name: USE_SYMBOL_GC=0, env: { cppflags: '-DUSE_SYMBOL_GC=0' } }
# - { name: USE_THREAD_CACHE=0, env: { cppflags: '-DUSE_THREAD_CACHE=0' } }
# - { name: USE_TRANSIENT_HEAP=0, env: { cppflags: '-DUSE_TRANSIENT_HEAP=0' } }
Expand Down
2 changes: 1 addition & 1 deletion gc.c
Expand Up @@ -470,7 +470,7 @@ int ruby_rgengc_debug;
#define GC_PROFILE_DETAIL_MEMORY 0
#endif
#ifndef GC_ENABLE_INCREMENTAL_MARK
#define GC_ENABLE_INCREMENTAL_MARK USE_RINCGC
#define GC_ENABLE_INCREMENTAL_MARK 1
#endif
#ifndef GC_ENABLE_LAZY_SWEEP
#define GC_ENABLE_LAZY_SWEEP 1
Expand Down

0 comments on commit b3a2716

Please sign in to comment.