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

Calling from build.rs #38

Open
lovesegfault opened this issue Nov 13, 2018 · 2 comments
Open

Calling from build.rs #38

lovesegfault opened this issue Nov 13, 2018 · 2 comments

Comments

@lovesegfault
Copy link

I want to use cargo-kcov in a deployment, but while it is easy for me to guarantee that kcov is available in the CI environment, making sure cargo-kcov is there as well isn't so easy, since there are no Nix formulas for it.

It would be nice if I could just call a function from build.rs that ran cargo-kcov, or perhaps call it from a 'shim' test, this way I can just embed it as a rust dependency.

Is there any way to currently do this? Is there interest in supporting this?

@kennytm
Copy link
Owner

kennytm commented Nov 13, 2018

This sounds like a very bad workaround. Wouldn't it be easier just create the Nix formula?

@lovesegfault
Copy link
Author

@kennytm Sure, and in my case that's what I'm doing right now, but I meant to open the issue with a more generic idea, and not so much as 'how can I solve with for Nix'.

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