Commit cc4c22c5 authored by cremno's avatar cremno

mruby-strip doesn't need mrbgems

Reduces executable size by more than 50% (409->171 KB).
parent 0fa3668e
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment