On Mon, 2017-01-30 at 09:29 +0000, Fabio Valentini wrote:
I've been interested in Rust for some time now (and even more, now
I've learned about functional programming and studied the lambda
at university ;)
I have 2 questions regarding the state and future of Rust on fedora:
1) Is there support for building and distributing rust libraries as
libraries (.so files), if the crate supports it?
As far as I know at this moment it
doesn't really work properly and it
is also hard to support "features" because either you should build
shared library with support for all features or you build with minimal
and it seems not good idea.
If not, this could lead to at least one problem ... any software
using a rust library via a FFI (as described at ) would have to
the crate itself and bundle the library. I don't think this is
the long run (every package having to build the create itself and
package having to include the .so file looks like a lot of wasted
time and space to me).
Additionally, I generally dislike linking everything statically (like
golang does), and would much prefer if fedora supported building and
distributing rust libraries from the start. ;)
2) Is there a tool for generating .spec files / srpms from crates
gofed, but nicer), and is such a tool planned?
Not yet and probably it will be very
simple since I want to have all
BuildRequires/Requires/Provides generation in RPM and not in some
external tools. So work on this tool will be just get version, summary
and create spec from very simple template.
If nobody has started working on that yet, I'd volunteer. It sounds
Stop by our IRC channel and we can discuss it ;)
Rust mailing list -- rust(a)lists.fedoraproject.org
To unsubscribe send an email to rust-leave(a)lists.fedoraproject.org