BSD Ports

wip/rust1100 src NetBSD

Safe, concurrent, practical language

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
Port added
Last update
Commit
490a3f094c
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.

Version history 1

  1. src 757f0228c9

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

From pkgsrc-wip (no binary package):

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

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Build dependencies 3
Run dependencies 5

No port depends on this one.

Commit history 5

DateCommitCreditsLog message
490a3f094c Havard Eidnes rust1100: one more file for REPLACE_BASH.
How did I overlook that earlier.
fa276dbb8d Havard Eidnes rust1100: remove two patches no longer needed.
5da770543a Havard Eidnes rust1100: remove the "no_atomic" setting for NetBSD/mipsel.
Thanks to the hints in https://github.com/crossbeam-rs/crossbeam/issues/1349 and https://github.com/rust-lang/rust/issues/164512 this setting is (no longer?) actually needed, and now produces a cross-built rust compiler + std lib.
54ee8079f5 Thomas Klausner rust1100*: reduce diffs to lang/rust
757f0228c9 Havard Eidnes rust1100: add a package for rust version 1.100.0.
Pkgsrc changes: * Version & checksum changes. * Adapt patches to match. Upstream changes: Version 1.100.0 (2026-11-12) ========================== Language -------- - [Stabilize never type] (https://github.com/rust-lang/rust/pull/155499) - [Lint against repeated `#[repr(..)]` attributes] (https://github.com/rust-lang/rust/pull/157036) - [Stabilize `extern "custom"`] (https://github.com/rust-lang/rust/pull/158504) - [Extend `dropping_references`, `dropping_copy_types` and `undropped_manually_drops` lints to `drop_in_place`] (https://github.com/rust-lang/rust/pull/160229) - [`unfulfilled_lint_expectations` no longer fires on `#[expect(dead_code)]` inside code that is covered by a dead parent's diagnostic] (https://github.com/rust-lang/rust/pull/161005) …