Commit a55a5469 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

unix: Support #if-able impl-specific cmdline options.

For example, we still build w/o GC enabled, so cannot really set heap size.
parent d4e7e06d
......@@ -218,8 +218,19 @@ int usage(void) {
"usage: py [-X <opt>] [-c <command>] [<filename>]\n"
"Implementation specific options:\n"
int impl_opts_cnt = 0;
" heapsize=<n> -- set the heap size for the GC\n"
if (impl_opts_cnt == 0) {
printf(" (none)\n");
return 1;
Supports Markdown
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