Why the -file
build option?
#2393
-
Since I started learning Odin, I wonder about the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is kind of answered when you use It happened so many times we made it a dedicated option to make you think about the implication of building a single file.
|
Beta Was this translation helpful? Give feedback.
This is kind of answered when you use
odin help build
. Essentially, before-file
, beginners would havedir\a.odin
anddir\b.odin
, build one of them and then complain that they didn't see declarations from the other file, despite telling Odin to build a single-file package.It happened so many times we made it a dedicated option to make you think about the implication of building a single file.