-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dune describe pp
creates an empty profile.dump
file at the root of the project
#7430
Comments
@nojb any idea what causes this file to appear? |
I looked around a bit, but no idea, sorry. |
I had a look, this file is being created by the compiler here (we're invoking the compiler with |
(I'm not very familiar with the compiler driver, but I suppose that since no compilation happens, we end up in that case because no |
possible fixes: we could run that command in |
That would be a good idea. We should also delete it manually after running the action.
Worth doing as well. |
Test case for ocaml#7430. We demonstrate that the `dune describe pp` command leaves behind the dump file. Signed-off-by: Ali Caglayan <alizter@gmail.com>
Test case for ocaml#7430. We demonstrate that the `dune describe pp` command leaves behind the dump file. Signed-off-by: Ali Caglayan <alizter@gmail.com>
Test case for ocaml#7430. We demonstrate that the `dune describe pp` command leaves behind the dump file. Signed-off-by: Ali Caglayan <alizter@gmail.com>
Test case for ocaml#7430. We demonstrate that the `dune describe pp` command leaves behind the dump file. Signed-off-by: Ali Caglayan <alizter@gmail.com>
Test case for #7430. We demonstrate that the `dune describe pp` command leaves behind the dump file. Signed-off-by: Ali Caglayan <alizter@gmail.com>
We also fix this by running ocamlc in the _build directory and cleaning up the dump file afterwards. - fix ocaml#7430 - [x] changelog Signed-off-by: Ali Caglayan <alizter@gmail.com>
We also fix this by running ocamlc in the _build directory and cleaning up the dump file afterwards. - fix ocaml#7430 - [x] changelog Signed-off-by: Ali Caglayan <alizter@gmail.com>
We also fix this by running ocamlc in the _build directory and cleaning up the dump file afterwards. - fix ocaml#7430 - [x] changelog Signed-off-by: Ali Caglayan <alizter@gmail.com>
We also fix this by running ocamlc in the _build directory and cleaning up the dump file afterwards. - fix ocaml#7430 - [x] changelog Signed-off-by: Ali Caglayan <alizter@gmail.com>
We also fix this by running ocamlc in the _build directory and cleaning up the dump file afterwards. - fix ocaml#7430 - [x] changelog Signed-off-by: Ali Caglayan <alizter@gmail.com>
This was fixed in #10322 since we no longer pass |
Expected Behavior
dune describe pp some/file.ml
should print the preprocess file.Actual Behavior
It does print the preprocessed file but also creates a
profile.dump
file at the root of the project. This file is empty. I couldn't find a mention of this file in_build/log
,Reproduction
Specifications
dune
(output ofdune --version
): 3.6.1 (but also happening on an experimental version of dune)ocaml
(output ofocamlc --version
): 4.14.0Additional information
dune
with the--verbose
flag): https://gist.github.com/Khady/9660bc040c9c8fc3af90aa50e1fab0ccThe text was updated successfully, but these errors were encountered: