Skip to content
Niels Sascha Reedijk edited this page Dec 31, 2022 · 70 revisions

Welcome to the Rust-on-Haiku repository. In here Haiku-specific patches for Rust are tracked.

The repository is set up as follows:

  • There are tags for each of the rust releases that will work on Haiku. (e.g. rust-haiku-1.34.2
  • The haiku-stable branch contains the latest ported stable release
  • There is also a haiku-beta and a haiku-nightly. These are updated whenever I make a succesful build.

The haiku-beta and haiku-nightly repositories are not frequently updated, usually once per release cycle.

The advised method of building Rust on Haiku is by using a cross-compiler. There is a repository with container build scripts to help automate the process. The wiki still contains instructions on how to set up a cross-compiler for Rust 1.63.0 and before.

Tag Build Platform Notes
rust-haiku-1.30.0 R1 Beta 1 Build instructions
rust-haiku-1.31.1 R1 Beta 1 Build instructions
rust-haiku-1.32.0 R1 Beta 1 Build instructions
rust-haiku-1.33.0 R1 Beta 1 Build instructions
rust-haiku-1.34.2 R1 Beta 1 Build instructions
rust-haiku-1.35.0 R1 Beta 1 Build instructions
rust-haiku-1.36.0 R1 Beta 1 Build instructions
rust-haiku-1.37.0 R1 Beta 1 Build instructions
rust-haiku-1.38.0 R1 Beta 1 Build instructions
rust-haiku-1.39.0 R1 Beta 1 Due to issue rust-lang#61861 it is not possible to cross-compile the tools
rust-haiku-1.40.0 R1 Beta 1 Build instructions
rust-haiku-1.41.0 R1 Beta 1 Build instructions
rust-haiku-1.42.0 R1 Beta 1 Build instructions
rust-haiku-1.43.0 R1 Beta 1 Build instructions
rust-haiku-1.44.0 R1 Beta 2 Build instructions
rust-haiku-1.45.0 R1 Beta 2 Build instructions; RLS will not build because it depends on a broken net2
rust-haiku-1.46.0 R1 Beta 2 Build instructions; RLS will not build because it depends on a broken net2
rust-haiku-1.47.0 R1 Beta 2 Build instructions; Needs a manually fixed curl-sys to link to system lib
rust-haiku-1.48.0 R1 Beta 2 Build instructions; Needs a manually fixed curl-sys to link to system lib
rust-haiku-1.49.0 R1 Beta 2 Build instructions; Needs a manually fixed curl-sys to link to system lib
rust-haiku-1.50.0 R1 Beta 2 Build instructions; Needs a manually fixed curl-sys to link to system lib
rust-haiku-1.51.0 R1 Beta 2 Build instructions
rust-haiku-1.52.0 R1 Beta 2 Build instructions
rust-haiku-1.53.0 R1 Beta 2 Build instructions
rust-haiku-1.54.0 R1 Beta 3 Build instructions
rust-haiku-1.55.0 R1 Beta 3 Build instructions
1.56.0 R1 Beta 3 Build instructions
1.57.0 R1 Beta 3 Build instructions
1.58.0 R1 Beta 3 Build instructions
1.59.0 R1 Beta 3 Build instructions
1.60.0 R1 Beta 3 Build instructions
rust-haiku-1.62.0 R1 Beta 3 Build instructions
rust-haiku-1.63.0 R1 Beta 3 Build instructions
rust-haiku-1.66.0 R1 Beta 4 container build: x86 - x86-64