-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Configurable clean behavior #572
Comments
Are you thinking of something like |
I think the later one. This request is just to add a custom clean behavior pairing making custom behavior. |
In my build scripts I'm running 3rd party edit: I've made the |
Since |
This feature will be handy +1 |
I'm also looking for this feature. In #5078 someone noted that:
This might work for you as a workaround until this feature is implemented. On a semi-related note, I'm starting to feel there are too many places where one can configure things related to cargo: |
As there hasn't been any activity here in over 6 months I've marked this as stale and if no further activity happens for 7 days I will close it. I'm a bot so this may be in error! If this issue should remain open, could someone (the author, a team member, or any interested party) please comment to that effect? The team would be especially grateful if such a comment included details such as:
Thank you for contributing! If you're reading this comment from the distant future, fear not if this was closed automatically. If you believe it's still an issue please leave a comment and a team member can reopen this issue. Opening a new issue is also acceptable! |
As I didn't see any updates in 30 days I'm going to close this. Please see the previous comment for more information! |
This feature would be great for projects that incorporate code generators into their building process. Think about I suggest reopen it. |
I would help as well for project that have a C binding library, like https://github.com/rust-bio/rust-htslib Right now the submodule under https://github.com/rust-bio/rust-htslib/tree/master/hts-sys |
I need this for interoperability with a makefile based system to compile a third party C library whose contents and build system I have no control over. When |
Not a fan of stale bot and glad we stopped using it. However, I would have also proposed closing this if I had come across it. First, I think it could be surprising for users to have cargo remove unconventional paths by convention. Second, there is the question of how this would be done. If we have to build something to see how to clean it, that feels off. We could have a directive in Third, most of the discussion has not been focused on the circumstances around why this is needed. What are the problems with using |
The only thing that is needed for third party build system integration is for The non-customizable third party build system situation is very common in embedded systems and other low level (operating system/kernel type) development applications. |
My comment about Makefiles is so old, that Cargo still supported There may be |
Cargo can configure
build
behavior to build non-rust code. Likewise, we should be able to configureclean
behavior to clean up the items which are built by the customized build behavior.The text was updated successfully, but these errors were encountered: