summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-strip
diff options
context:
space:
mode:
authorcremno <[email protected]>2014-08-04 12:26:36 +0200
committercremno <[email protected]>2014-08-04 12:26:36 +0200
commitcc4c22c5f55c2827e9fb138682be43f82c5e36cb (patch)
tree3f7e5fefbc8e24626e35f440668934cf1ad2d4dd /mrbgems/mruby-bin-strip
parent0fa3668e917c45409acd56ba624db24d95699895 (diff)
downloadmruby-cc4c22c5f55c2827e9fb138682be43f82c5e36cb.tar.gz
mruby-cc4c22c5f55c2827e9fb138682be43f82c5e36cb.zip
mruby-strip doesn't need mrbgems
Reduces executable size by more than 50% (409->171 KB).
Diffstat (limited to 'mrbgems/mruby-bin-strip')
-rw-r--r--mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c b/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c
index 75d6d49fd..7fe1ebfa1 100644
--- a/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c
+++ b/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c
@@ -142,7 +142,7 @@ main(int argc, char **argv)
print_usage(argv[0]);
return EXIT_FAILURE;
}
- mrb = mrb_open();
+ mrb = mrb_open_core(mrb_default_allocf, NULL);
if (mrb == NULL) {
fputs("Invalid mrb_state, exiting mruby-strip\n", stderr);
return EXIT_FAILURE;