Note that rust_bin does not include rls in this version, as the current
incarnation depends on an unsupported dependency. Rls seems to be
falling out of favour for rust-analyser anyway, so this is not a
blocker.
This change includes both the rust and rust_bin recipe. The remark
regarding the memory usage of the build on Haiku remains, that's
why the build is marked as untested. I have, however, tested the
recipe up to the point where the main build starts so the odds are
good that it might build.
Also remove the rust~dev recipe for the 1.22 version.
The rust_bin recipe is built of binary artifacts. The main reason is
that the 32 bit version can no longer be built on Haiku, because it
crosses a hard memory limit. Perhaps this changes later on. In any case,
an added advantage is that this makes the package buildable by the
buildbots.
For documentation purposes, a regular rust recipe is also provided. This
will probably run on a x86_64 machine with a decent amount of RAM. The
package depends on rustc and cargo being available for the same version.
This makes it both buildable from the rust_bin and the rust recipe.
The recipe is based on the official github sources, plus patches where
applicable. The tree including patches can be found at
https://github.com/nielx/rust
This recipe is based on the official sources, but has some additional patches.
The tree with integrated patches can be found at https://github.com/nielx/rust
The difference with the recipes for versions 1.9.0 through 1.12.1 is that
this one is based off the "official" rust sources, after Alexander
von Gluck integrated the existing patches and added some additional of his
own. The recipe uses some additional patches to fix the build system (and
some oversights). The complete patched source tree can be found at
https://github.com/nielx/rust