summaryrefslogtreecommitdiffstats
path: root/development/rust16/README
blob: 97cfbe0b1532a86631172e06684b77dd179f1eb2 (plain)
rust16 installs a limited set of Rust stable binaries to /opt/rust16.
This is to allow Rust-based SlackBuilds to build more recent versions
than would be possible with system Rust.

To use the rust16 binaries in a SlackBuild, make the following export
statements:

export PATH="/opt/rust16/bin:$PATH"
if [ -z "$LD_LIBRARY_PATH" ]; then
  export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX"
else
  export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
fi

If your SlackBuild experiences build failures on 64-bit systems, please
ensure that the LIBDIRSUFFIX variable is set.

rust16 is not intended as a substitute for rustup or for the Slackware
Rust package in terms of Rust development purposes.

Separate downloads are available for i686 and x86_64.