./lang/rust, Safe, concurrent, practical language

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.85.1nb2, Package name: rust-1.85.1nb2, Maintainer: pkgsrc-users

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.


Required to run:
[www/curl] [security/openssl] [lang/llvm]

Required to build:
[pkgtools/cwrappers] [lang/gcc5] [lang/python37]

Master sites:

Filesize: 579415.928 KB

Version history: (Expand)


CVS history: (Expand)


   2025-04-19 09:58:38 by Thomas Klausner | Files touched by this commit (750)
Log message:
*: recursive bump for default Kerberos implementation switch
   2025-04-17 23:53:13 by Thomas Klausner | Files touched by this commit (2449)
Log message:
*: recursive bump for icu 77 and libxml2 2.14
   2025-04-11 12:03:22 by Jonathan Perkin | Files touched by this commit (4)
Log message:
rust: Fix Solarish patches.
   2025-04-10 22:29:29 by Havard Eidnes | Files touched by this commit (1)
Log message:
lang/rust: re-enable MAKE_ENV and PKGSRC_MAKE_ENV, and improve comment.

These settings are needed to run the bootstrap kits we produce
using pkgsrc, since pkgsrc prevents the use of $ORIGIN in RPATHs.
This makes us able to run the bootstrap rust compiler from within
the build tree, `pwd`/work/rust-bootstrap/bin/rustc, using the
libraries in `pwd`/work/rust-bootstrap/lib/.
   2025-04-10 12:01:34 by pin | Files touched by this commit (1)
Log message:
lang/rust: Allow arbitrary + sub-versions in rust crates

From: Taylor R Campbell <riastradh@NetBSD.org>

Before, a crate name like wasi-0.11.0+wasi-snapshop-preview1.crate
(which has non-numeric/dot characters after the + delimiter) would be
mapped to the URL:

https://crates.io/api/v1/crates/wasi/wasi-0.11.0+wasi-snapshot-preview1/download

when the correct URL is:

https://crates.io/api/v1/crates/wasi/0.11.0+wasi-snapshot-preview1/download

Extension of the fix discussed on tech-pkg@ at:
https://mail-index.NetBSD.org/tech-pkg/2025/03/16/msg030612.html
   2025-04-08 15:31:01 by Jonathan Perkin | Files touched by this commit (1)
Log message:
rust: Remove MACOSX_DEPLOYMENT_TARGET.

It is unclear why this was added in the first place, but it's a user
variable so should not be here, and has been actively breaking the build
for the last few releases.
   2025-04-08 11:31:08 by Thomas Klausner | Files touched by this commit (55) | Package updated
Log message:
rust: update to 1.85.1.

Based on wip/rust185, mostly by he@ with help from
bsiegert@, adam@, and myself, and hints from riastradh@.
   2025-04-05 11:46:48 by Havard Eidnes | Files touched by this commit (1)
Log message:
lang/rust: remove use of patchelf, as suggested by riastradh@

This was a misguided attempt at dealing with
https://github.com/rust-lang/rust/issues/133629
which was triggered by trying to run the stage1 rust
compiler from within the build tree, and this use
of patchelf did in fact not fix this problem.
Ref. also
https://mail-index.netbsd.org/pkgsrc-changes/2025/04/02/msg320497.html