A way to force musl platform download if available? #843
Unanswered
KarateSnowMachine
asked this question in
Q&A
Replies: 1 comment
-
Hello! No not yet. This will however be possible after https://github.com/mason-org/mason-registry is integrated. It'll work like so: :MasonInstall --target=linux_x64 rust-analyzer or alternatively require("mason-registry").get_package("rust-analyzer"):install { target = "linux_x64" } |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am using Mason on RHEL7 and I ran into an issue where Mason installs the gnu/glibc version of rust-analyzer (which is a perfectly good thing to do). However, when running the binary I get a glibc version error since RHEL7 is ancient. My workaround was simply to hack the package file to just change gnu platform to download the musl package:
And this works fantastically well for me.
However, I wasn't sure if there was simply a way to override the platform detection using a config option so I don't have to keep this local code hack to Mason.
Thanks for your help and a wonderful project!
Beta Was this translation helpful? Give feedback.
All reactions