https://github.com/psumbera/solaris-rust
https://github.com/psumbera/solaris-rust
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/psumbera/solaris-rust
- Owner: psumbera
- Created: 2022-11-07T08:58:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-26T06:30:36.000Z (over 1 year ago)
- Last Synced: 2025-02-26T07:29:45.052Z (over 1 year ago)
- Language: Shell
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Oracle Solaris Rust builder
This project builds latest stable Rust version for Oracle Solaris 11.4 CBE release [1] (currently 11.4.42).
Note that to build Rust version X you need to have version X or X-1 versoin.
Usage example:
```
RUST_BOOTSTRAP=~/rustc-1.81.0/bin ./build.sh
```
Ultimately Rust should install in standard manner (rustup). But we are not there yet..
To install Rust pre built binaries on Solaris you can use:
```
source <(curl -s https://raw.githubusercontent.com/psumbera/solaris-rust/refs/heads/main/sh.rust-web-install)
```
For example:
```
$ source <(curl -s https://raw.githubusercontent.com/psumbera/solaris-rust/refs/heads/main/sh.rust-web-install)
Downloading Rust 1.82.0 for Solaris from github. It can take some time...
Rust 1.82.0 was installed into /export/home/test/.rust-solaris.
PATH was modified to: PATH=/export/home/test/.rust-solaris/rustc-1.82.0/bin:$PATH
$
```
Note that `~/.rust-solaris/bin` link should point to Rust bin directory.
[1] https://www.oracle.com/solaris/solaris11/downloads/solaris-downloads.html