-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
renames the --bare [-b] flag to --build the --build flag now requires an argument (where to save the system image) the build flag triggers mode selection so that the code can get correctly generated and saved
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
macro test(x) | ||
:( println( "hello ", $x ) ) | ||
end | ||
|
||
@test "world" | ||
|
||
|
||
This comment has been minimized.
Sorry, something went wrong. |
2 comments
on commit 1f51c45
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this since --bare
hasn't really worked as a standalone thing for quite some time. We might want to allow multiple --bulid
flags in the future so that people can include their own stuff in a custom build. That could be one interface to statically compiling Julia code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, in order to static-compile efficiently, the compiler needed to know that it is building a system image. I think --bare
hasn't worked since modules were added, so it made sense to co-opt it.
I think you didn't mean to commit this.