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

Build proc-macro crate as "target" crate when unit testing it #1674

Closed
wants to merge 2 commits into from
Closed

Build proc-macro crate as "target" crate when unit testing it #1674

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 15, 2021

This detects proc-macro crate's unit test build by searching for --extern proc_macro and --test in the command line.

Fixes #1660.

@ghost ghost marked this pull request as draft January 15, 2021 19:27
@ghost
Copy link
Author

ghost commented Jan 15, 2021

This currently breaks compiling for non-host targets.

@ghost
Copy link
Author

ghost commented Jan 15, 2021

Closing as this solution doesn't work for dependencies.

This pull request was closed.
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

Successfully merging this pull request may close these issues.

0 participants