projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
909eb01
)
fixed: `onyx package migrate` since addition of `--generate-method-info`
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Wed, 7 Feb 2024 04:21:19 +0000
(22:21 -0600)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Wed, 7 Feb 2024 04:21:19 +0000
(22:21 -0600)
compiler/src/onyx.c
patch
|
blob
|
history
diff --git
a/compiler/src/onyx.c
b/compiler/src/onyx.c
index 1808f859a1be749791b9656462de3308cb88cd93..986ad31cd1b315c9ca05d2dec680942412502ca3 100644
(file)
--- a/
compiler/src/onyx.c
+++ b/
compiler/src/onyx.c
@@
-191,6
+191,7
@@
static CompileOptions compile_opts_parse(bh_allocator alloc, int argc, char *arg
options.action = ONYX_COMPILE_ACTION_RUN;
options.passthrough_argument_count = argc - 2;
options.passthrough_argument_data = &argv[2];
+ options.generate_method_info = 1; // The package manager needs this to be enabled.
arg_parse_start = argc;
bh_arr_push(options.files, bh_aprintf(alloc, "%s/tools/onyx-pkg.onyx", core_installation));