diff options
author | Koichi Sasada <[email protected]> | 2022-01-25 15:44:38 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2022-01-25 16:43:57 +0900 |
commit | a51e1cd682daeb76f201e62eaedcf6d51a18cffe (patch) | |
tree | 44a9609907d4f4070e9807698127d4ad06c78f92 /vm_dump.c | |
parent | de678cd51e2e73c2edaced5f824e93c6a91a0f85 (diff) |
enable `RUBY_ON_BUG` on release build
[Feature #18483]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5481
Diffstat (limited to 'vm_dump.c')
-rw-r--r-- | vm_dump.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1008,7 +1008,6 @@ rb_dump_machine_register(const ucontext_t *ctx) void rb_vm_bugreport(const void *ctx) { -#if RUBY_DEVEL const char *cmd = getenv("RUBY_ON_BUG"); if (cmd) { char buf[0x100]; @@ -1018,7 +1017,6 @@ rb_vm_bugreport(const void *ctx) snprintf(buf, sizeof(buf), "Launching RUBY_ON_BUG command failed."); } } -#endif #ifdef __linux__ # define PROC_MAPS_NAME "/proc/self/maps" |