Closed beeaniebee closed 3 years ago
Best place for rust support is https://github.com/smaeul/portage-overlay/tree/master/dev-lang/rust . I suspect @smaeul himself might be able to comment further, but his overlay is recommended for rust/firefox on musl systems.
Ah! That's not where I got mine! I'm glad more than one option is available! It looks like his version is on 1.47.0, however the one I'm running 1.48.0! Regardless I love seeing support being added and I hope a fix for rust gets added here soon.
I've found a couple of patches around that fix rust compiling on my musl system. I've compiled spidermonkey with just one patch to the ebuild, just changing the target to x86_64-unknown-linux-musl from x86_64-gentoo-linux-musl, because rust compiled with only that target. However, if rust was able to compile with x86_64-gentoo-linux-musl, then spidermonkey would need no configuring or patching. Firefox compiled with no changes or patches from portage. This would be an amazing addition to musl on gentoo and even possibly other systems if it could be added and tested.
This issue does nothing as you have not included any information. If you want to see 1.48.0 added to the overlay you would need to create a PR with your suggested changes. Please feel free to reopen the issue if you want to continue with your work on rust support via the overlay.
Was this ever fixed? Or is smaeul's overlay the solution? (It seems that smaeul's overlay has an outdated version of rust, maybe doesn't matter?)
I am kinda new to Gentoo, but I can't compile spidermonkey cause it wants to use the x86_64-gentoo-linux-musl, which doesn't exist? However the x86_64-unknown-linux-musl exists....
I tried to use make.conf
to set $RUSTFLAGS to force the target to be x86_64-unknown-linux-musl, but failed... Is there a way to do this?
I've found a couple of patches around that fix rust compiling on my musl system. I've compiled spidermonkey with just one patch to the ebuild, just changing the target to x86_64-unknown-linux-musl from x86_64-gentoo-linux-musl, because rust compiled with only that target. However, if rust was able to compile with x86_64-gentoo-linux-musl, then spidermonkey would need no configuring or patching. Firefox compiled with no changes or patches from portage. This would be an amazing addition to musl on gentoo and even possibly other systems if it could be added and tested.