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

Add an example that actually uses something from the library #156

Open
gnzlbg opened this issue Jan 31, 2019 · 2 comments
Open

Add an example that actually uses something from the library #156

gnzlbg opened this issue Jan 31, 2019 · 2 comments

Comments

@gnzlbg
Copy link

gnzlbg commented Jan 31, 2019

The library in the example project appears to be empty. None of the examples use anything from it.

I'm trying to set this up for a library project and am constantly getting that my library crate cannot be found.

@laumann
Copy link
Collaborator

laumann commented Jan 31, 2019

The library in the example project appears to be empty. None of the examples use anything from it.

Correct.

I'm trying to set this up for a library project and am constantly getting that my library crate cannot be found.

Is this using a workspace as you mention in #157? You might need to fiddle with target_rustcflags and add more directories with -L.

@gnzlbg
Copy link
Author

gnzlbg commented Jan 31, 2019

Is this using a workspace as you mention in #157?

Yes.

You might need to fiddle with target_rustcflags and add more directories with -L.

I tried without any luck. Ended up using rustdoc compile_fail doc tests instead, but I'd prefer to be able to match the error message more precisely using compilefail_rs.

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