compiletest-rs
compiletest-rs copied to clipboard
Add an example that actually uses something from the library
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.
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
.
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
.