-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev-lang/rust-bin: add initial ebuild #277
Conversation
this is a little ebuild I've been using for a while, it's a copycat of the rust-bin ebuild from the tree, obviously. It's far from being perfect, but it's a massive benefit for low end machines. On top of that, more up to date =dev-lang/rust-1.38.0 is a formidable bug festival, cargo build is broken by libgit2 issues. Signed-off-by: Steffen Kuhn <[email protected]>
Signed-off-by: Steffen Kuhn <[email protected]>
sorry this fell off the radar. is it good to go? |
I'll have to partly rewrite the ebuild, too many changes in recent weeks. I'm going to ping you when it's done. |
rust (and rust-bin) 1.41.0 in gentoo will be musl enabled so this is not needed. The only problem I see is you HAVE to use rust (non-bin) will be patched to modify the musl target for gentoo. but generally, setting |
this sounds promissing, please ping me if you need some testing before releasing it into the wild |
rust-bin in gentoo now supports musl (amd64 only) don't forget that it emits static binaries by default and you need also the rust triple is |
actually it may not work on |
it'll need better handling of |
arm is another story, pulling in sys-libs/libunwind alone is propapbly going to trigger arm specific bugs. I can test on arm in Februrary, hopefully. |
|
I don't know specifics of rust on arm, what are the problems with libunwind? |
I'm glad to test the new version on arm, but please grant me some time to get back with results. arm is slow, and all I'm saying is that using libunwind used to be a problem in the past. Problems as in unable to compile |
It's possible to compile stuff with rust-bin on amd64, I tried with dev-util/cbindgen, but with firefox I'm hitting this on amd64: |
as expected. also relevant smaeul/portage-overlay#16 |
closing in favour of: #366 |
this is a little ebuild I've been using for a while, it's a copycat
of the rust-bin ebuild from the tree, obviously. It's far from being
perfect, but it's a massive benefit for low end machines.
On top of that, more up to date =dev-lang/rust-1.38.0 is a formidable
bug festival, where cargo build is broken by libgit2 issues.