lang/rust 1.95.0 MidnightBSD
Language with a focus on memory safety and concurrency
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
f8dc2742cc- License
- Apache-2.0, mit
- Categories
- lang
Description
Rust is an open-source systems programming language that runs blazingly fast, prevents almost all crashes, and eliminates data races. Some of its features:
- Algebraic data types, type inference
- Pattern matching and closures
- Concurrency without data races
- Guaranteed memory safety
- Optional garbage collection
- Zero-cost abstractions
- Minimal runtime
- Efficient C bindings
In the other systems
Install
Binary package:
mport install rust
From mports:
cd /usr/mports/lang/rust && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rust>0:lang/rust
Dependencies
As this port's Makefile names them.
Library 1
libcurl.so: ftp/curl
Build dependencies 1
Run dependencies 1
Required by 22
- ai/claude-code-legacy
- audio/soundcraft
- cad/cadcraft
- devel/electron39
- devel/electron40
- editors/gridcraft
- editors/wordcraft
- graphics/artcraft
- graphics/lightcraft
- graphics/photocraft
- graphics/vectorcraft
- lang/bun
- lang/rust-bootstrap
- mail/thunderbird
- multimedia/deckcraft
- multimedia/effectcraft
- multimedia/filmcraft
- print/pdfcraft
- www/chromium
- www/firefox
- www/firefox-esr
- www/ungoogled-chromium
Configuration
Options name: lang_rust
| Option | Default | Description |
|---|---|---|
| DOCS | on | |
| GDB | off | Install ports gdb (necessary for debugging rust programs) |
| LTO | off | |
| PORT_LLVM | off | Build against devel/llvm instead of bundled copy (experimental) |
| SOURCES | on | Install source files |
| WASM | on | Build the WebAssembly target (wasm32-unknown-unknown) |
- USES
- cmake:indirect cpe ninja:build pkgconfig python:build ssl tar:xz
- Service scripts
- none
- Conflicts with
- rust-nightly rust188
Files
distinfo 25
| File | Size | SHA256 |
|---|---|---|
| rust/rustc-1.95.0-src.tar.xz | 2.38952004e+08 | 62b67230754da642a264ca0cb9fc08820c54e2ed7b3baba0289876d4cdb48c08 |
| rust/2026-03-05/rustc-1.94.0-aarch64-unknown-freebsd.tar.xz | 4.7150332e+07 | 66d73b773e77d8f44d67b4bf5221a92a92df5de36820f015b23859c3a91c41c3 |
| rust/2026-03-05/rust-std-1.94.0-aarch64-unknown-freebsd.tar.xz | 2.3778504e+07 | 8a324269a5177ffc9213b8b8d5db0feb7c9af109cda2156c7a17dc1032182532 |
| rust/2026-03-05/cargo-1.94.0-aarch64-unknown-freebsd.tar.xz | 9.793936e+06 | aa146dd01440cdcc6f15990bf210e23254e0c9162a7d0babfe7c9ceb761ea74e |
| rust/2026-03-05/rustc-1.94.0-x86_64-unknown-freebsd.tar.xz | 4.2475424e+07 | b13bba492883108343db35c05a53fdff8d0631d1d58dafed595a873b76578409 |
| rust/2026-03-05/rust-std-1.94.0-x86_64-unknown-freebsd.tar.xz | 2.5071488e+07 | a8bf68539b4d307e8f2b4be4b8922bc775dbf524e496f1d4da1efc2a7e5bce20 |
| rust/2026-03-05/cargo-1.94.0-x86_64-unknown-freebsd.tar.xz | 1.1217136e+07 | 18f7277ca12475555782b36cac52014cea19f1d1e0d96caef3099c0eeef24013 |
| rust/2026-03-05/rustc-1.94.0-armv7-unknown-freebsd.tar.xz | 4.7309868e+07 | b716575d642ba9458ee9c29b22f99f4b7bdfa92f68d10e5ee9d2d04431a20f48 |
| rust/2026-03-05/rust-std-1.94.0-armv7-unknown-freebsd.tar.xz | 2.3272892e+07 | 662d00c26cbed6f7b5c80be1ca4e3ddf6aa5dd84ed058f64cc1a83d5c4c71a78 |
| rust/2026-03-05/cargo-1.94.0-armv7-unknown-freebsd.tar.xz | 1.0101944e+07 | 6fe813f09facd84d5da96a858c9e11157064e0c5ab2adc62eb57cbd5a74d27b6 |
| rust/2026-03-05/rustc-1.94.0-i686-unknown-freebsd.tar.xz | 5.3624544e+07 | 9409bbe0e251e974a464543cd84f0af3f01a71d90f295e352648edd2a1d5de67 |
| rust/2026-03-05/rust-std-1.94.0-i686-unknown-freebsd.tar.xz | 2.484768e+07 | 812542ef2dfc279e4e534baf4942dc7439f9c2c3e03e5e9d3272716a27e1b8c9 |
| rust/2026-03-05/cargo-1.94.0-i686-unknown-freebsd.tar.xz | 1.1911788e+07 | 7b97ce9a6a97d68c16602959e8406765a7650b06c8a1f77dad5a5df03e45e548 |
| rust/2026-03-05/rustc-1.94.0-powerpc-unknown-freebsd.tar.xz | 4.807216e+07 | 6c8a085addb90d2f51ad89a8eb7b506b3720c3a8b4baefeec3b0d1cc37b99a69 |
| rust/2026-03-05/rust-std-1.94.0-powerpc-unknown-freebsd.tar.xz | 2.1951392e+07 | 52906d4de3e109c5f5cdbf9d18a608961be95a20a34b622e422ba8db68231167 |
| rust/2026-03-05/cargo-1.94.0-powerpc-unknown-freebsd.tar.xz | 1.0220996e+07 | 3b6b213555e9ad02992c40b5aaa921c923d5c7c63e5fb0099c2c93ff3590c18d |
| rust/2026-03-05/rustc-1.94.0-powerpc64-unknown-freebsd.tar.xz | 4.7431308e+07 | b0b713d462061573d7ddf4aff1d9919c9b5cdb1818c99cd500d43b950a75fe23 |
| rust/2026-03-05/rust-std-1.94.0-powerpc64-unknown-freebsd.tar.xz | 2.1997684e+07 | 4558910da712c7caab4d1fbeca1e6970705e3f3ac54750e79a9f4491e9068353 |
| rust/2026-03-05/cargo-1.94.0-powerpc64-unknown-freebsd.tar.xz | 1.0379652e+07 | 2fd971b4c41de0fa9164b6769b42ded67ab6fdf5a598649ce6ffa8757f7b2d52 |
| rust/2026-03-05/rustc-1.94.0-powerpc64le-unknown-freebsd.tar.xz | 5.0324136e+07 | 2c01249dcde1ac19e75eb77f2259a8efdde205b5d459d506c1209dba0ea823f2 |
Master sites 4
- https://static.rust-lang.org/dist/:src
- https://dev-static.rust-lang.org/dist/:src
- FREEBSD_LOCAL/rust:bootstrap
- https://static.rust-lang.org/dist/:bootstrap
Commit history 2
| Date | Commit | Credits | Log message |
|---|---|---|---|
f8dc2742cc |
Lucas Holt | lang/rust: update to 1.95.0 (#754) Updates `lang/rust` from 1.94.0 to 1.95.0, mirroring FreeBSD ports
commit `3c971390fa39`.
## Changes
- `PORTVERSION` 1.94.0 -> 1.95.0, `PORTREVISION` 2 -> 0
- `BOOTSTRAPS_DATE` 2026-01-22 -> 2026-03-05, `RUST_BOOTSTRAP_VERSION`
1.93.0 -> 1.94.0 (matches `src/stage0`)
- `distinfo` taken from FreeBSD's 1.95 distinfo; their 1.94 distinfo was
byte-identical to ours apart from the timestamp, so all eight
architectures transfer safely
- `files/patch-AddLLVM.cmake` retargeted: upstream LLVM now quotes
`"${CMAKE_SYSTEM_NAME}"` in the rpath origin check and the line moved
from 2552 to 2568
- `files/patch-vendor_cc.rs` retargeted: the vendored cc crate moved
from 1.2.50 to 1.2.55; verified all ten vendored `cc-*` directories are
still covered
… |
|
69e53bc2e9 |
Lucas Holt | lang/rust: disable parallel bootstrap builds Avoid bootstrap compiler crashes observed while building rustfmt with 24 parallel jobs.
AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |