mirror of
https://github.com/ruby/ruby.git
synced 2026-08-05 11:19:10 +08:00
Remove unused compile options/jobs (#16583)
SYMBOL_GC removed in2bcb155b49THREAD_CACHE removed inbe1bbd5b7dBIGNUM_DEBUG removed ine60cd14d85
This commit is contained in:
parent
cee3d5f45b
commit
2d2351af56
Notes:
git
2026-03-27 23:25:28 +00:00
Merged-By: st0012 <stan001212@gmail.com>
3
.github/workflows/compilers.yml
vendored
3
.github/workflows/compilers.yml
vendored
@ -221,7 +221,6 @@ jobs:
|
||||
- { uses: './.github/actions/compilers', name: 'NDEBUG', with: { cppflags: '-DNDEBUG' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'RUBY_DEBUG', with: { cppflags: '-DRUBY_DEBUG' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'ARRAY_DEBUG', with: { cppflags: '-DARRAY_DEBUG' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'BIGNUM_DEBUG', with: { cppflags: '-DBIGNUM_DEBUG' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'CCAN_LIST_DEBUG', with: { cppflags: '-DCCAN_LIST_DEBUG' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'CPDEBUG=-1', with: { cppflags: '-DCPDEBUG=-1' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'ENC_DEBUG', with: { cppflags: '-DENC_DEBUG' }, timeout-minutes: 5 }
|
||||
@ -259,8 +258,6 @@ jobs:
|
||||
with: { sparse-checkout-cone-mode: false, sparse-checkout: /.github, persist-credentials: false }
|
||||
- { uses: './.github/actions/setup/directories', with: { srcdir: 'src', builddir: 'build', makeup: true, fetch-depth: 10 } }
|
||||
- { uses: './.github/actions/compilers', name: 'USE_LAZY_LOAD', with: { cppflags: '-DUSE_LAZY_LOAD' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'USE_SYMBOL_GC=0', with: { cppflags: '-DUSE_SYMBOL_GC=0' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'USE_THREAD_CACHE=0', with: { cppflags: '-DUSE_THREAD_CACHE=0' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'USE_RUBY_DEBUG_LOG=1', with: { cppflags: '-DUSE_RUBY_DEBUG_LOG=1' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'USE_DEBUG_COUNTER', with: { cppflags: '-DUSE_DEBUG_COUNTER=1' }, timeout-minutes: 5 }
|
||||
- { uses: './.github/actions/compilers', name: 'SHARABLE_MIDDLE_SUBSTRING', with: { cppflags: '-DSHARABLE_MIDDLE_SUBSTRING=1' }, timeout-minutes: 5 }
|
||||
|
||||
5
bignum.c
5
bignum.c
@ -2943,11 +2943,6 @@ bary_divmod(BDIGIT *qds, size_t qn, BDIGIT *rds, size_t rn, const BDIGIT *xds, s
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#ifndef BIGNUM_DEBUG
|
||||
# define BIGNUM_DEBUG (0+RUBY_DEBUG)
|
||||
#endif
|
||||
|
||||
static int
|
||||
bigzero_p(VALUE x)
|
||||
{
|
||||
|
||||
7
symbol.c
7
symbol.c
@ -27,13 +27,6 @@
|
||||
#include "builtin.h"
|
||||
#include "ruby/internal/attr/nonstring.h"
|
||||
|
||||
#if defined(USE_SYMBOL_GC) && !(USE_SYMBOL_GC+0)
|
||||
# undef USE_SYMBOL_GC
|
||||
# define USE_SYMBOL_GC 0
|
||||
#else
|
||||
# undef USE_SYMBOL_GC
|
||||
# define USE_SYMBOL_GC 1
|
||||
#endif
|
||||
#if defined(SYMBOL_DEBUG) && (SYMBOL_DEBUG+0)
|
||||
# undef SYMBOL_DEBUG
|
||||
# define SYMBOL_DEBUG 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user