💾 Archived View for a.rusty-haiku.dev › posts › 2022-05-29-a-beginning.gmi captured on 2023-06-16 at 16:20:41. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-06-11)

-=-=-=-=-=-=-

back to posts

Posts

2022-05-29

A beginning

Hello there and welcome to my small corner of the smolnet where

I am going to attempt to document my journey for development

oriented explorations for Haiku [1].

One technology that has piqued my interest (and probably

plenty of others) is Rust. Fortunately, Rust has already

been ported to Haiku which takes the heavy lifting

of getting started with Rust on Haiku that much easier.

However, there is still plenty of work to be done

to get Haiku better supported for Rust. For example, rustup

which is a tool to help install Rust is not supported

under Haiku.

Even though rustup isn't available as an option for

installation, there is a solution with a Haiku port.

To get it installed it is as simple as

~> pkgman install rust_bin     # note the bin
... (elide lots of scrollage)

~> pkgman search rust_bin
Status  Name      Description                                 
--------------------------------------------------------------
S       rust_bin  Modern and safe systems programming language

Once installed you'll be greeted with many familiar tools

in Rustland like rustc and cargo.

~> rustc --version
rustc 1.60.0 (2e3e23e17 2022-04-05)

~> cargo --version
cargo 1.60.0 (d1fd9fe2c 2022-03-01)

Enjoy!

a-rusty-haiku-dev

refs

haiku [1]