Commit 8dbf7787 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2510 from cremno/mruby-strip-use-mrb_open_core

mruby-strip doesn't need mrbgems
parents 1ff32cfb cc4c22c5
...@@ -142,7 +142,7 @@ main(int argc, char **argv) ...@@ -142,7 +142,7 @@ main(int argc, char **argv)
print_usage(argv[0]); print_usage(argv[0]);
return EXIT_FAILURE; return EXIT_FAILURE;
} }
mrb = mrb_open(); mrb = mrb_open_core(mrb_default_allocf, NULL);
if (mrb == NULL) { if (mrb == NULL) {
fputs("Invalid mrb_state, exiting mruby-strip\n", stderr); fputs("Invalid mrb_state, exiting mruby-strip\n", stderr);
return EXIT_FAILURE; 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