Why can't we have precompiled *.ji files for multiple versions of a package?

Under ~/.julia/packages/PkgName I can have multiple versions of the same package co-existing peacefully.

Is there any reason why the same thing cannot happen under ~/.julia/compiled/v1.0/PkgName? Currently each time I switch versions the compilation takes place again.

1 Like

Ref. https://github.com/JuliaLang/julia/issues/27418