You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works fine with cargo test, but cargo package is failed.
This is because cargo package copies files in crate-A to target/package/crate-A-xxx, build.rs is executed in the target directory, and ../README.md can't be found.
I want to use rust-skeptic with workspace.
My project structure is like below:
I want to test
README.md
with crate-A, sobuild.rs
of crate-A is below:This works fine with
cargo test
, butcargo package
is failed.This is because
cargo package
copies files in crate-A totarget/package/crate-A-xxx
,build.rs
is executed in the target directory, and../README.md
can't be found.My current workaround is below:
Is there any idea to fix it?
I think either the improvement of rust-skeptic or the extra instruction of README.md is required.
The text was updated successfully, but these errors were encountered: