A lot of existing crates “just work” when using them on another platform or in
another environment. Others require minor changes. How does one find such
crates? Alternatively, given a crate, how does one know whether it's going to
work in their current setup?
This issue is about trying to come up with static analysis tools that can be
used to help answer such questions.
@aturon suggested
that once a system like this exists, it's no longer necessary to have a
separate core and std. Instead, one could leverage this system to enforce
portability.
A lot of existing crates “just work” when using them on another platform or in another environment. Others require minor changes. How does one find such crates? Alternatively, given a crate, how does one know whether it's going to work in their current setup?
This issue is about trying to come up with static analysis tools that can be used to help answer such questions.
Ideas/prior work:
core
andstd
. Instead, one could leverage this system to enforce portability.