Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(cargo): disable derive feature of clap when using "+crt-static"…
… for static linking as descripted in clap-rs/clap#1938, following error can be resolved by using `RUSTFLAGS="-C target-feature=-crt-static"` or disable `derive` feature. In fact, we don't need the derive feature. Thus, it can be disabled. Error message when add rust flag `+crt-static` only for static linking: `cannot produce proc-macro for `clap_derive v3.0.0-beta.2` as the target `x86_64-unknown-linux-gnu` does not support these crate types`
- Loading branch information