BSD Ports

wip/rust199 src NetBSD

Safe, concurrent, practical language

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
Port added
Last update
Commit
a8ca5b7216
License
mit OR apache-2.0
Categories
wip, lang

Description

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.

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/rust199 && make install clean

Dependencies

Build dependencies 3
Run dependencies 5

No port depends on this one.

Commit history 4

DateCommitCreditsLog message
a8ca5b7216 Adam Ciarciński rust199: updated to 1.99.1
e1599d0288 Havard Eidnes rust199: on NetBSD/powerpc, only build LLVM for PowerPC and X86.
This avoids the build of particularly the RISCV LLVM CPU target which causes g++ to want to exceed the available virtual space when building natively on PowerPC.
37f08ec111 Havard Eidnes rust199: fix build for powerpc by adding -mno-pltseq.
This is required due to the new gcc which comes along with NetBSD 10.0, which is now the target for this rust build due to the requirement for a newer gcc to build the embedded LLVM.
e3b1041292 Havard Eidnes rust199: update to rust version 1.99.0.
Pkgsrc changes: * Adapt to changes in vendored crate versions. * Version & checksum changes. Upstream changes: Version 1.99.0 (2026-10-01) ========================== Language -------- - [Add allow-by-default `raw_borrows_via_references` lint that checks for references that decay immediately into raw borrows](https://github.com/rust-lang/rust/pull/138230) - [Extend `unconditional_panic` lint to function calls that panic when the chunks/windows size is zero] (https://github.com/rust-lang/rust/pull/153563) - [Stabilize C-variadic function definitions] (https://github.com/rust-lang/rust/pull/155697) - [Stabilize the ability to use `#[unsafe(naked)]` functions to define C-variadic functions (`#![feature(c_variadic_naked_functions)]`).] …