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

Does not work in procedural macros called from a build script #12

Open
dylanede opened this issue Jul 23, 2021 · 1 comment
Open

Does not work in procedural macros called from a build script #12

dylanede opened this issue Jul 23, 2021 · 1 comment

Comments

@dylanede
Copy link

Since the [build-dependencies] section of the Cargo manifest is not checked (only [dependencies] and [dev-dependencies]), it fails to find crates that are only specified there. A simple fix would be to check there as well, but really you'd only want to check there if the current target is a build script. I'm not sure what the best way of determining that is.

@bkchr
Copy link
Owner

bkchr commented Jul 26, 2021

Hey, thank you for the issue. I actually never thought about using this from a build script. However it makes sense, I see what I can do.

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