/spec/ruby/core/thread/backtrace/location/fixtures/

_2_3 The Ruby Programming Language
summaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Collapse)Author
2025-03-16Make wrapper of `main` for wasm more genericNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12933
2025-03-16Make ASAN default option string built-in librubyNobuyoshi Nakada
The content depends on ruby internal, not responsibility of the caller. Revive `RUBY_GLOBAL_SETUP` macro to define the hook function. Notes: Merged: https://github.com/ruby/ruby/pull/12933
2025-01-11Remove stale declaration for modular GCNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12546
2024-12-16Export __asan_default_options for GCCAlan Wu
Unlike Clang 15, GCC 11 seems require default symbol visibility.
2024-12-05Standardize on the name "modular GC"Peter Zhu
We have name fragmentation for this feature, including "shared GC", "modular GC", and "external GC". This commit standardizes the feature name to "modular GC" and the implementation to "GC library". Notes: Merged: https://github.com/ruby/ruby/pull/12261
2024-11-17Win32: Expose wchar main routine onlyNobuyoshi Nakada
Warned if both of `main` and `wmain` are exposed: ``` LINK : warning LNK4067: ambiguous entry point; selected 'mainCRTStartup' ``` Notes: Merged: https://github.com/ruby/ruby/pull/12108
2024-11-05Use wide character startupNobuyoshi Nakada
Mingw crt-git 12.0.0.r369.g0d4221712-1 now prohibits "command line contains characters that are not supported in the active code page". https://sourceforge.net/p/mingw-w64/mingw-w64/ci/0d42217123d3aec0341b79f6d959c76e09648a1e/ Already Ruby builds `argv` in `rb_w32_sysinit`, instead of mswin- or mingw-made `argv`. Just bypass the conversion in mingw crt.
2024-07-05Revert "Load external GC using command line argument"Peter Zhu
This reverts commit 8ddb1110c283c5cb59b6582383f36fdbcc43ab19.
2024-07-03Move ruby_load_external_gc_from_argv to gc.hPeter Zhu
2024-06-21Load external GC using command line argumentPeter Zhu
This commit changes the external GC to be loaded with the `--gc-library` command line argument instead of the RUBY_GC_LIBRARY_PATH environment variable because @nobu pointed out that loading binaries using environment variables can pose a security risk.
2024-02-12Adjust styles [ci skip]Nobuyoshi Nakada
2024-02-12Burn default ASAN options into the built RubyKJ Tsanaktsidis
* We always need use_sigaltstack=0 because Ruby registers sigaltstack handlers * We also need to disable leak detection (unless RUBY_FREE_AT_EXIT is set - I might experiment later with automatically enabling leak detection if RUBY_FREE_AT_EXIT is set). Burning it into the built ruby binary in this way avoids people needing to remember to start their Ruby program with these flags all the time. We also need a small fix in mkmf to make sure that test programs also don't have leak detection enabled (this is never desirable) [Bug #20256]