lang/rust - 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.

Build dependencies

lang/python38 lang/python38 pkgtools/cwrappers devel/libtool-base shells/bash devel/gmake archivers/gtar-base lang/perl5 devel/pkgconf

Runtime dependencies

lang/llvm www/curl www/curl www/curl

Binary packages

OSArchitectureVersion
NetBSD 8.0i386rust-1.45.2nb2.tgz
NetBSD 8.0i386rust-1.47.0.tgz
NetBSD 8.0i386rust-1.49.0nb1.tgz
NetBSD 8.0powerpcrust-1.45.2nb2.tgz
NetBSD 8.0x86_64rust-1.49.0nb1.tgz
NetBSD 8.0x86_64rust-1.45.2nb2.tgz
NetBSD 8.0x86_64rust-1.47.0.tgz
NetBSD 9.0aarch64rust-1.49.0nb1.tgz
NetBSD 9.0aarch64rust-1.45.2nb2.tgz
NetBSD 9.0aarch64rust-1.47.0.tgz
NetBSD 9.0earmv7hfrust-1.49.0nb1.tgz
NetBSD 9.0earmv7hfrust-1.47.0.tgz
NetBSD 9.0i386rust-1.45.2nb2.tgz
NetBSD 9.0i386rust-1.47.0.tgz
NetBSD 9.0i386rust-1.49.0nb1.tgz
NetBSD 9.0powerpcrust-1.47.0.tgz
NetBSD 9.0sparc64rust-1.49.0.tgz
NetBSD 9.0sparc64rust-1.45.2nb2.tgz
NetBSD 9.0x86_64rust-1.47.0.tgz
NetBSD 9.0x86_64rust-1.47.0.tgz
NetBSD 9.0x86_64rust-1.48.0.tgz
NetBSD 9.0x86_64rust-1.49.0nb1.tgz
NetBSD 9.0x86_64rust-1.45.2nb2.tgz
NetBSD 9.0x86_64rust-1.47.0.tgz
NetBSD 9.0x86_64rust-1.49.0.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-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.