1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-31 15:43:01 +00:00

Update Makefile for faster builds.

This commit is contained in:
Calvin Rose
2018-05-10 11:11:18 -04:00
parent ac4b46bdb1
commit 584c75b3f6
2 changed files with 7 additions and 13 deletions

View File

@@ -36,13 +36,11 @@ int main(int argc, char **argv) {
env = dst_stl_env();
dst_gcroot(dst_wrap_table(env));
/* Create process tuple */
/* Create args tuple */
args = dst_array(argc);
for (i = 0; i < argc; i++) {
dst_array_push(args, dst_cstringv(argv[i]));
}
/* Allow access to runtime argument */
dst_env_def(env, "args", dst_wrap_array(args));
/* Expose line getter */