Open ghost opened 6 years ago
Thanks for the tip. I'm not sure how to integrate this information into the website though, since the official Rust releases still don't seem to support OpenBSD. I guess it would be best if the OpenBSD patches were upstreamed, and the builds added to the release process.
Otherwise, I guess the website could add OpenBSD detection and direct people to OpenBSD-specific instructions and/or the "unrecognized" instructions you refer to could be augmented to have OpenBSD-specific instructions, and/or the "other installers" page could be augmented with OpenBSD-specific info.
It's an awkward situation.
Any changes here should be applied to rustup.rs as well.
FWIW I think the "other installers" page should discuss 3rd-party installation methods like macports, distros, etc. so that would be a good place to discuss OpenBSD's package. The "unrecognized option" could include a link to the "other installers" page indicating there may be relevant 3rd-party options.
@brson Well, FreeBSD and NetBSD patches are not upstreamed too: https://svnweb.freebsd.org/ports/head/lang/rust/files/ http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/rust/patches/
It is best and most reliable to install via ports/packages (especially at OpenBSD system ABI loving to break binary compatibily is annoying when you run snaphots). At OpenBSD, Rust can be installed as:
# cd /usr/ports/lang/rust
# make -j `sysctl hw.ncpu` install clean
or
# pkg_add rust
About official support, didn't Sebastien Marie (Rust port's maintainer) contact you?
@brson Anyway, ports is not recommended because it is just wasting time to compile, so it is best to install it as package. At FreeBSD and DragonFlyBSD:
# pkg ins rust
At OpenBSD:
# pkg_add rust
At NetBSD:
# pkg_add rust
or
# pkgin install rust
Here are the patches OpenBSD ports applies to make rust build on OpenBSD: https://github.com/openbsd/ports/tree/master/lang/rust/patches
Please consider taking a look. Thanks!
@hboetes this is the archived repository of the old rust-lang website. We generally prefer active upstreaming of patches from projects themselves, it's usually the better direction to work in: they usually know better what they need upstream and what not.
That being said: we'd be very happy to assist in the process!
@skade, OK, thanks for your reply.
Hi!
Your website says: "I don't recognize your platform. Rust runs on Windows, Linux, Mac OS X, FreeBSD and NetBSD."
Not true:
Offtopic: Rust required patches to run on OpenBSD: https://github.com/openbsd/ports/tree/master/lang/rust/patches