Changes between Version 11 and Version 12 of WikiStart


Ignore:
Timestamp:
Oct 24, 2017, 12:02:35 AM (12 months ago)
Author:
nielx
Comment:

Update package to Rust 1.15.1

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v11 v12  
    22I have worked on a port of [http://rust-lang.org Rust] to the [http://www.haiku-os.org Haiku] operating system. Rust is a fast and safe programming language. And Haiku is an open source operating system that targets desktop computers.
    33
    4 == Current version: 1.6.0 ==
    5 The current version of Rust for Haiku is labeled 'Rust 1.6.0'. It is based on the official 1.6.0 rust release.
     4== Current version: 1.15.1 ==
     5The current version of Rust for Haiku is labeled 'Rust 1.15.1. It is based on the official 1.15.1 rust release and it contains both the rust compiler and the cargo package manager.
    66
    77Available is:
    8 * The source [http://rust-on-haiku.com/downloads/38 rustc-1.6.0-src.tar.gz]
    9 * The Haiku package runtime libraries: [http://rust-on-haiku.com/downloads/39 rust_x86_runtime-1.6.0-1-x86_gcc2.hpkg]
    10 * The Haiku package compiler and docs [http://rust-on-haiku.com/downloads/40 rust_x86-1.6.0-1-x86_gcc2.hpkg]
    11 * The Haiku source package file [http://rust-on-haiku.com/downloads/41 rust_x86_source-1.6.0-1-source.hpkg] for use with Haikuporter
     8* The source [http://rust-on-haiku.com/downloads/72 rustc-1.15.1-src.tar.gz]
     9* The binary package for the x86_gcc2 platform  [http://rust-on-haiku.com/downloads/78 rust_x86-1.15.1-2-x86_gcc2.hpkg]
     10* The binary package for the x86_64 platform [http://rust-on-haiku.com/downloads/79 rust-1.15.1-2-x86_64.hpkg]
     11* The Haikuporter source package file [http://rust-on-haiku.com/downloads/80 rust_source-1.15.1-2-source.hpkg], that can be built with the `haikuporter` tool
    1212
    13 The easiest way to get started is by downloading the both the runtime and the compiler packages, and placing it in your `/boot/system/packages` folder. It will '''not''' work if you put the package in your home directory. Rust expects certain libraries to be in certain places.
     13The easiest way to get started is by downloading the both the runtime and the compiler packages, and install it by double clicking the package, or by manually placing it in your `/boot/system/packages` folder. It will '''not''' work if you put the package in your home directory. Rust expects certain libraries to be in certain places.
    1414
    15 In order to use Rust, you need to use Haiku's standard GCC2 hybrid configuration (`x86_gcc2`). A 'pure' gcc 4 system has not been tested, and packages are not (yet) available.
    16 
    17 == Major todos ==
    18 There are some big things still to do:
    19 * Port cargo to Haiku. Cargo is the Rust package manager. The challenges are that cargo is self-hosting (like Rust), so it requires a stage 0 as well. Also, Haiku is a special directory layout since the introduction of package management, so cargo will need to conform to that.
    20 * Creating some basic Haiku bindings to (for example) the kernel interface.
    21 * Eventually upstreaming the changes (starting with the git submodules to simplify that part).
     15In order to use Rust, you either need to use Haiku's standard GCC2 hybrid configuration (`x86_gcc2`) or the experimental x86_64 platform.
    2216
    2317== Porting notes ==