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
Currently merlin gets the stdlib path from the compiler that was used to compile merlin itself. This is quite inconvenient because this means that merlin cannot be used with any other compiler (of the same version). In our setting, we use a deploy a precompiled version of merlin in all our developer machines and we used to make this work using an explicit directive in .merlin but this doesn't work anymore with the new .merlin-less plumbing.
Since merlin already queries dune for a bunch of information, why not get the path to the standard library as well from it? You can see the stdlib location that dune uses when you do dune build --verbose.
The text was updated successfully, but these errors were encountered:
I agree with you, and merlin still understands that directive (the STDLIB one in `.merlin files), so I don't think there's anything to do on our side. It's just that dune isn't giving it to merlin.
I suggest you open an issue there :)
I agree with you, and merlin still understands that directive (the STDLIB one in `.merlin files), so I don't think there's anything to do on our side. It's just that dune isn't giving it to merlin.
I suggest you open an issue there :)
Currently
merlin
gets the stdlib path from the compiler that was used to compilemerlin
itself. This is quite inconvenient because this means thatmerlin
cannot be used with any other compiler (of the same version). In our setting, we use a deploy a precompiled version ofmerlin
in all our developer machines and we used to make this work using an explicit directive in.merlin
but this doesn't work anymore with the new.merlin
-less plumbing.Since
merlin
already queriesdune
for a bunch of information, why not get the path to the standard library as well from it? You can see the stdlib location thatdune
uses when you dodune build --verbose
.The text was updated successfully, but these errors were encountered: