summaryrefslogtreecommitdiffstats
path: root/development/rust/README
blob: 3ec3ae0ccf42f24272e27247b7a41d4214c73d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Rust is a systems programming language that runs blazingly fast,
prevents segfaults, and guarantees thread safety.

Cargo - the Rust package manager - is included in this build.

This script may take a while to complete (just over an hour for x86_64, just
over 1.5 hours for x86 on a 10 core machine) and will require about 7 GB of
disk space for its temporary directory. It defaults to "/tmp/SBo" and you may
redefine it like this:

TMP=/your/temporary/dir ./rust.SlackBuild

This will build rust from source, which requires using the "official" stage0
compiler for the version being built from rust-lang.org, which is currently
the previous stable version.

If you already have rust installed, this slackbuild will use it to bootstrap
itself.

You can also force either behaviour through the LOCAL_BOOTSTRAP=yes|no
parameter.

  LOCAL_BOOTSTRAP=no ./rust.SlackBuild