kinode-dao/kit

feature: provide useful errors w/ mismatched versions (e.g. process_lib)

Closed this issue · 1 comments

Is your feature request related to a problem? Please describe.
Mismatched versions of, e.g., process_lib can lead to very-hard-to-diagnose compiler errors:

image

Describe the solution you'd like
We should print more useful errors when this type of thing occurs. Some ways to accomplish this:

  1. kit build looks at various Cargo.tomls and, if versions mismatch, fails out & prints error,
  2. kit build intercepts error above and attaches suggestions for how to deal with it, namely matching version numbers.

FYI @jurij-jukic