Skip to content

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