Skip to content
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

ninja clean does not delete files generated by rustc #1184

Open
dilyanpalauzov opened this issue Feb 24, 2024 · 1 comment
Open

ninja clean does not delete files generated by rustc #1184

dilyanpalauzov opened this issue Feb 24, 2024 · 1 comment

Comments

@dilyanpalauzov
Copy link
Contributor

dilyanpalauzov commented Feb 24, 2024

I compile clamav 1.3.0 using the ninja generator (ccmake -GNinja) out-of-tree (VPATH build). Then I call ninja clean and ninja -t clean. Before ninja clean the build directory is 1.4Gb, afterwards it is 919Mb, with x86_64-unknown-linux-gnu being 700Mb.

I expect that ninja clean deletes everything, which the next run of ninja will create again.

@micahsnyder
Copy link
Contributor

Interesting. I agree it should delete the files generated by rustc.

It seems like we may be able to solve this with ADDITIONAL_CLEAN_FILES

https://stackoverflow.com/questions/62450774/cmake-clean-additional-generated-files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants