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
If you have code that links the same crate multiple times, the metadata loader may record several copies of the same crate in its crate list, e.g.
extern mod std(vers = "0.4");
extern std;
This could have potentially bad effects. It has already resulted a mysterious situation that caused all the crate hashes to change because of a spurious 'use'. I can imagine it also could cause types to not resolve if referenced from different mount points.
I believe that the metadata loader does make some effort to do this but it isn't sufficient.
The text was updated successfully, but these errors were encountered:
Bug triage 2013jun24. I tried to construct an example where linking to the same crate multiple times would cause the types to not resolve, but I did not encounter any examples of such. Still, it would be good to fix this bug.
and the output is the same without --cfg extra_crate. The above is full dump of the crate_cache list, clearly std doesn't appear twice (Without the no_uv there are two, rustuv and std).
If you have code that links the same crate multiple times, the metadata loader may record several copies of the same crate in its crate list, e.g.
This could have potentially bad effects. It has already resulted a mysterious situation that caused all the crate hashes to change because of a spurious 'use'. I can imagine it also could cause types to not resolve if referenced from different mount points.
I believe that the metadata loader does make some effort to do this but it isn't sufficient.
The text was updated successfully, but these errors were encountered: