Rust is available on RHEL 8 images, installed centrally without the need for a module load (via the rust-toolset yum package?).
Previously the presence of rust on Bede has only been mentioned in an email thread.
This is currently rust 1.54. It is not and will not be available on the RHEL 7 image.
This states it provides rust, cargo and rustfmt packages, but rustfmt doesn't appear to be available on Bede RHEL 8 images.
rust-doc also appears to be installed.
It is a compiler (plus toolset), so probably belongs in the compilers section, although it could go in the applications section instead much like R / python (as it's not a C/C++/Fortran compiler, so doesn't set CC etc like the other modules. alternatively compilers/index.rst could be tweaked.
I'm not aware of how stable rust's versions are, so it may be worth providing instructions on how to install a differnt version of rust/cargo to /nobackup if the system wide version is not compatible with the users code. This can probable be deffered to when it is required however.
[x] Create rust documentation page, in either compilers or applications
[x] What is Rust + links to docs
[x] It is available by default for RHEL 8 images
[x] List provided commands, rustc, cargo, rustdoc.
[x] Show users how to check the version + the current output at the time of writing (rustc --version).
~Potentially adjust the compilers/index.rst blurb to no longer be C/C++/Fortran specific.~
Will defer this change for now
[x] Potentially add seciton on installing a different version of Rust, if not too trivial to install to /nobackup.
This may be deffered to a future issue / to not block this.
Rust is available on RHEL 8 images, installed centrally without the need for a
module load
(via therust-toolset
yum package?). Previously the presence of rust on Bede has only been mentioned in an email thread.This is currently rust 1.54. It is not and will not be available on the RHEL 7 image.
The RHEL rust toolset package documentation: https://access.redhat.com/documentation/en-us/red_hat_developer_tools/1/html/using_rust_1.54.0_toolset/assembly_rust-toolset
This states it provides
rust
,cargo
andrustfmt
packages, butrustfmt
doesn't appear to be available on Bede RHEL 8 images.rust-doc
also appears to be installed.Command line tools provided are
rustc
- the compilercargo
- the package managerrustdoc
- https://doc.rust-lang.org/1.54.0/rustdoc/what-is-rustdoc.htmlIt is a compiler (plus toolset), so probably belongs in the compilers section, although it could go in the applications section instead much like R / python (as it's not a C/C++/Fortran compiler, so doesn't set CC etc like the other modules. alternatively compilers/index.rst could be tweaked.
I'm not aware of how stable rust's versions are, so it may be worth providing instructions on how to install a differnt version of rust/cargo to
/nobackup
if the system wide version is not compatible with the users code. This can probable be deffered to when it is required however.rustc
,cargo
,rustdoc
.rustc --version
)./nobackup
.sha256sum
against the provided ssha256 file for that release (if the whole website is compromised this doesn't help anyway)chmod +x
RUSTUP_HOME
andCARGO_HOME
environment variables to paths in/nobackup/projects/<project>/$USER
so they do not bloat$HOME
sh -s
.bashrc
, settingRUSTUP_HOME
,CARGO_HOME
andPATH
to appropriate locations for subsequent use (Or create a custom module dir).