lang/rust176 - The NetBSD Packages Collection

Safe, concurrent, practical language

Rust is a systems programming language focused on three goals: safety,
speed, and concurrency.  It maintains these goals without having a
garbage collector, making it a useful language for a number of use cases
other languages aren't good at: embedding in other languages, programs
with specific space and time requirements, and writing low-level code,
like device drivers and operating systems.

It improves on current languages targeting this space by having a number
of compile-time safety checks that produce no runtime overhead, while
eliminating all data races.  Rust also aims to achieve "zero-cost
abstractions" even though some of these abstractions feel like those of
a high-level language.  Even then, Rust still allows precise control
like a low-level language would.

This is the old 1.76 version of rust for those platforms where the current
version does not work.

Build dependencies

lang/python312 lang/python312 devel/cmake devel/libtool-base pkgtools/mktools shells/bash devel/gmake archivers/gtar-base lang/perl5 devel/pkgconf pkgtools/cwrappers

Runtime dependencies

www/curl www/curl www/curl

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64rust-1.76.0nb3.tgz
NetBSD 10.0i386rust-1.76.0nb3.tgz
NetBSD 10.0sparc64rust-1.76.0nb3.tgz
NetBSD 10.0x86_64rust-1.76.0nb3.tgz
NetBSD 9.0i386rust-1.76.0nb3.tgz
NetBSD 9.0sparc64rust-1.76.0nb3.tgz
NetBSD 9.0x86_64rust-1.76.0nb3.tgz
NetBSD 9.3x86_64rust-1.76.0nb3.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

rust-cargo-static
Build cargo semi-statically with built-in curl+openssl
rust-docs
rust-internal-llvm
Use Rust internal LLVM in builds.

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.