Replies: 7 comments
-
This foolish me , i can not understand it. |
Beta Was this translation helpful? Give feedback.
-
Note that Dune generally puts the build artifacts in a separate |
Beta Was this translation helpful? Give feedback.
-
@nojb oh, god, this should see in the document. |
Beta Was this translation helpful? Give feedback.
-
Which information is missing from https://dune.readthedocs.io/en/stable/usage.html?highlight=_build#interpretation-of-targets ? |
Beta Was this translation helpful? Give feedback.
-
can't see why $ ls -l ./bin/main.exe
ls: ./bin/main.exe: No such file or directory It really not exists a file in the ./bin/ directory. |
Beta Was this translation helpful? Give feedback.
-
The reason I am not sure where you found out about |
Beta Was this translation helpful? Give feedback.
-
@cnmade is doing exactly what the Quickstart tutorial recommends. I arrived at this issue because I am likewise confused. These details really ought to be made clear in the tutorial. |
Beta Was this translation helpful? Give feedback.
-
Expected Behavior
The file should exists
Actual Behavior
Reproduction
Specifications
Version of
dune
(output ofdune --version
):$ dune --version
3.2.0
Version of
ocaml
(output ofocamlc --version
)$ ocamlc --version
4.12.0
Operating system (distribution and version):
MacOS 12 Intel cpu
Additional information
I can not understand, the file ./bin/main.exe not exists, why we can run
dune exec ./bin/main.exe
and i got the output?
Why, i can not read why from the document, document not tell us.
very strange.
For every document we know with unix/linux.
There should be a file exists, then we can exec that file/programm.
If the file not exists in the directory/path, we will get the file not found error message.
Beta Was this translation helpful? Give feedback.
All reactions