mirror of
https://github.com/janet-lang/janet
synced 2025-12-07 17:18:07 +00:00
Add (dyn :executable).
Also remove process/args.
This commit is contained in:
@@ -353,8 +353,7 @@
|
||||
# Load entry environment and get main function.
|
||||
(def entry-env (dofile source))
|
||||
(def main ((entry-env 'main) :value))
|
||||
# Get environments for every native module for the marshalling
|
||||
# dictionary
|
||||
# Create marshalling dictionary
|
||||
(def mdict (invert (env-lookup root-env)))
|
||||
# Build image
|
||||
(def image (marshal main mdict))
|
||||
|
||||
Reference in New Issue
Block a user