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

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


Branch: pkgsrc-2021Q1, Version: 1.49.0nb1, Package name: rust-1.49.0nb1, 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.


Master sites:

SHA1: 561f8d3b09bde24aa7998a8ae0e35d3429fa7016
RMD160: f690ef8098a64eaf1dab3122140cacf0cf4d6a32
Filesize: 154110.804 KB

Version history: (Expand)


CVS history: (Expand)


   2021-04-24 14:48:46 by Benny Siegert | Files touched by this commit (1)
Log message:
Pullup ticket #6446 - requested by gutteridge
lang/rust: NetBSD/i386 build fix

Revisions pulled up:
- lang/rust/Makefile                                            1.228-1.229

---
   Module Name:    pkgsrc
   Committed By:   gutteridge
   Date:           Thu Apr 15 00:55:45 UTC 2021

   Modified Files:
           pkgsrc/lang/rust: Makefile

   Log message:
   rust: restore NetBSD i386 bootstrap workaround

   The current i386 bootstrap is built for NetBSD 8.x, and so is linked
   against libstdc++.so.8. NetBSD 9.x still requires compat80 for it to
   run.

   This isn't a complete workaround, as builds still fail in a sandboxed
   environment that doesn't have compat80 installed outside it. Dealing
   with that would require another workaround somewhat like the one used
   for ghc*, but a little different.

---
   Module Name:    pkgsrc
   Committed By:   gutteridge
   Date:           Fri Apr 16 01:14:37 UTC 2021

   Modified Files:
           pkgsrc/lang/rust: Makefile

   Log message:
   rust: the i386 bootstrap workaround is really a BUILD_DEPENDS
   2021-04-10 10:36:05 by Benny Siegert | Files touched by this commit (3)
Log message:
Pullup ticket #6436 - requested by he
lang/rust: build fixes

Revisions pulled up:
- lang/rust/Makefile                                            1.221-1.227
- lang/rust/distinfo                                            1.128
- lang/rust/options.mk                                          1.12-1.14

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Tue Mar 30 09:50:14 UTC 2021

   Modified Files:
   	pkgsrc/lang/rust: Makefile options.mk

   Log message:
   rust: normalize workarounds for cargo dependencies on NetBSD

   Havard would like all rusts to be built with rust-cargo-static,
   because this makes it easier to produce working bootstaps.

   In order to do this, we need to handle the OpenSSL and curl
   dependencies in older bootstrap kits properly.

   This means, for the remaining bootstraps that do not yet have
   cargo with static/vendored dependencies:

   - depend on base 8.0 openssl (compat80) on i386.
   - depend on pkgsrc curl on aarch64 and earmv7.
     the armv7 bootstrap is built for 9.0 so does not need compat80.
     the aarch64 bootstrap is built for 8.99.50 so does not need compat80.

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Wed Mar 31 16:45:08 UTC 2021

   Modified Files:
   	pkgsrc/lang/rust: Makefile options.mk

   Log message:
   rust: Only enable rust-cargo-static when building bootstraps.

   The final compiler will be dynamically linked with OpenSSL and curl,
   but this is undesirable in the case of bootstraps where it might be
   built against a version incompatible with version the user has.

   Discussed with he@.

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Apr  4 08:36:05 UTC 2021

   Modified Files:
   	pkgsrc/lang/rust: Makefile

   Log message:
   Bump the rust binary bootstraps to 1.49 for the remaining NetBSD ports.
   The 1.49 cargo binary has a much reduced set of dynamic dependencies,
   increasing the probability that they'll run on the host.

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Apr  4 08:40:44 UTC 2021

   Modified Files:
   	pkgsrc/lang/rust: distinfo

   Log message:
   Recompute checksums after the bootstrap version bump.

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Apr  4 08:51:20 UTC 2021

   Modified Files:
   	pkgsrc/lang/rust: options.mk

   Log message:
   Change rust-cargo-static condition on NetBSD.
   Key off BUILD_TARGET instead of whether we're cross-building,
   as bootstrap kits *can* be built natively (yes, the former state
   was my suggestion, but on second thought this is more correct).

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Sun Apr  4 09:23:38 UTC 2021

   Modified Files:
   	pkgsrc/lang/rust: Makefile

   Log message:
   rust: Remove old NetBSD bootstrap workarounds

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Apr  4 10:21:45 UTC 2021

   Modified Files:
   	pkgsrc/lang/rust: Makefile

   Log message:
   We need curl and openssl buildlinked if BUILD_TARGET is "build".
   This is because in that case we're not using the rust-internal
   copies of those libraries, governed by the rust-cargo-static option.

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Apr  4 10:21:45 UTC 2021

   Modified Files:
   	pkgsrc/lang/rust: Makefile

   Log message:
   We need curl and openssl buildlinked if BUILD_TARGET is "build".
   This is because in that case we're not using the rust-internal
   copies of those libraries, governed by the rust-cargo-static option.

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Apr  4 13:30:16 UTC 2021

   Modified Files:
   	pkgsrc/lang/rust: Makefile

   Log message:
   Undo previous, curl and openssl are already conditionally buildlinked
   in options.mk, nia@ pointed out.

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Apr  4 17:49:42 UTC 2021

   Modified Files:
   	pkgsrc/lang/rust: Makefile

   Log message:
   Hopefully today's last mistake: undo my MAKE_JOBS_SAFE mistake.