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 fails in Cargo workspace #12
Comments
Thanks for the reporting. Yeah, the declarative macros are fragile and I have modified the code to use proc_macros by default. If you don't want to use nightly rust, you can use functions run_cmd() and run_fun() in cmd_lib_core instead. |
rust-shell-script
pushed a commit
that referenced
this issue
Sep 7, 2020
Deprecated declarative macros and use proc_macros by default.
rust-shell-script
pushed a commit
that referenced
this issue
Sep 7, 2020
Deprecated declarative macros and use proc_macros by default.
@rust-shell-script Thanks for the fast response. I found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
when using
cmd_lib
in a crate that is part of a cargo workspace it get's confused because of a path relativeCARGO_MANIFEST_DIR
insource_text.rs
.I check version
0.8.3
and latest HEAD.For reproducing create a cargo workspace with a containing crate that uses cmd lib (I used one if the examples.
The text was updated successfully, but these errors were encountered: