BSD Ports

wip/rust198 src NetBSD

Safe, concurrent, practical language

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
Port added
Last update
Commit
7e5ae40586
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/rust198 && make install clean

Dependencies

Build dependencies 3
Run dependencies 5

No port depends on this one.

Commit history 3

DateCommitCreditsLog message
7e5ae40586 Thomas Klausner rust198: reduce diffs to lang/rust
fix pkglint while here
8a2c771057 Adam Ciarciński rust198: updated to 1.98.1
625573d091 Havard Eidnes rust198: add rust version 1.98.0.
Pkgsrc changes: * Update patches to match new vendored versions. * Associated checksum changes. * Add cargo option to permit linker warnings (NetBSD compat code) (taken from rust-beta wip package) Upstream changes: Version 1.98.0 (2026-08-20) ========================== Language -------- - [Allow shortening lifetime of `&mut` when unsize-coercing, even in an invariant position.] (https://github.com/rust-lang/rust/pull/149219) For example, you can now coerce a `Cell<&'long mut i32>` to a `Cell<&'short mut dyn Send>`. Such shortenings were already previously allowed when coercing a `&mut` to a `&`, or coercing a `&` to a `&`. - [Add deny-by-default `invalid_runtime_symbol_definitions` lint and warn-by-default `suspicious_runtime_symbol_definitions` lint] …