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

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

Branch: CURRENT, Version: 1.74.1nb1, Package name: rust-1.74.1nb1, 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: 276914.199 KB

Version history: (Expand)

CVS history: (Expand)

   2024-01-22 12:00:16 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
rust: avoid .old files in the final package
   2024-01-15 16:15:01 by Jonathan Perkin | Files touched by this commit (1)
Log message:
rust: Update illumos pkgsrc bootstrap libraries.
   2024-01-15 13:24:21 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
rust: use system libunwind
   2024-01-14 00:21:58 by Roland Illig | Files touched by this commit (1)
Log message:
lang/rust: remove references to build-time DESTDIR

When the package is installed, the temporary DESTDIR directory doesn't
exist anymore, so there's no point referring to it.

   2024-01-08 09:16:52 by Tobias Nygren | Files touched by this commit (1)
Log message:
   2024-01-06 20:00:19 by Havard Eidnes | Files touched by this commit (12) | Package updated
Log message:
rust: update to version 1.74.1.

Pkgsrc changes:

 * Remove NetBSD-8 support (embedded LLVm requires newer C++
   than what is in -8; it's conceivable that this could still
   build with an external LLVM)
 * undo powerpc 9.0 file naming tweak, since we no longer support -8.
 * Remove patch to LLVM for powerpc now included by upstream.
 * Minor adjustments, checksum changes etc.

Upstream changes:

Version 1.74.1 (2023-12-07)

- [Resolved spurious STATUS_ACCESS_VIOLATIONs in LLVM]
- [Clarify guarantees for std::mem::discriminant]
- [Fix some subtyping-related regressions]

Version 1.74.0 (2023-11-16)


- [Codify that `std::mem::Discriminant<T>` does not depend on any
  lifetimes in T]
- [Replace `private_in_public` lint with `private_interfaces` and
  `private_bounds` per RFC 2145]
  [RFC 2145](https://rust-lang.github.io/rfcs/2145-type-privacy.html).
- [Allow explicit `#[repr(Rust)]`]
- [closure field capturing: don't depend on alignment of packed fields]
- [Enable MIR-based drop-tracking for `async` blocks]


- [stabilize combining +bundle and +whole-archive link modifiers]
- [Stabilize `PATH` option for `--print KIND=PATH`]
- [Enable ASAN/LSAN/TSAN for `*-apple-ios-macabi`]
- [Promote loongarch64-unknown-none* to Tier 2]
- [Add `i686-pc-windows-gnullvm` as a tier 3 target]


- [Implement `From<OwnedFd/Handle>` for ChildStdin/out/err]
- [Implement `From<{&,&mut} [T; N]>` for `Vec<T>` where `T: \ 
- [impl Step for IP addresses]
- [Implement `From<[T; N]>` for `Rc<[T]>` and `Arc<[T]>`]
- [`impl TryFrom<char> for u16`]
- [Stabilize `io_error_other` feature]
- [Stabilize the `Saturating` type]
- [Stabilize const_transmute_copy]

Stabilized APIs

- [`core::num::Saturating`]
- [`impl From<io::Stdout> for std::process::Stdio`]
- [`impl From<io::Stderr> for std::process::Stdio`]
- [`impl From<OwnedHandle> for std::process::Child{Stdin, Stdout, Stderr}`]
- [`impl From<OwnedFd> for std::process::Child{Stdin, Stdout, Stderr}`]
- [`std::ffi::OsString::from_encoded_bytes_unchecked`]
- [`std::ffi::OsString::into_encoded_bytes`]
- [`std::ffi::OsStr::from_encoded_bytes_unchecked`]
- [`std::ffi::OsStr::as_encoded_bytes`]
- [`std::io::Error::other`]
- [`impl TryFrom<char> for u16`]
- [`impl<T: Clone, const N: usize> From<&[T; N]> for Vec<T>`]
- [`impl<T: Clone, const N: usize> From<&mut [T; N]> for \ 
- [`impl<T, const N: usize> From<[T; N]> for Arc<[T]>`]
- [`impl<T, const N: usize> From<[T; N]> for Rc<[T]>`]

These APIs are now stable in const contexts:

- [`core::mem::transmute_copy`]
- [`str::is_ascii`]
- [`[u8]::is_ascii`]


- [fix: Set MSRV for internal packages]
- [config: merge lists in precedence order]
- [fix(update): Clarify meaning of --aggressive as --recursive]
- [fix(update): Make `-p` more convenient by being positional]
- [feat(help): Add styling to help output ]
- [feat(pkgid): Allow incomplete versions when unambigious]
- [feat: stabilize credential-process and registry-auth]
- [feat(cli): Add '-n' to dry-run]
- [Add support for `target.'cfg(..)'.linker`]
- [Stabilize `--keep-going`]
- [feat: Stabilize lints]


- [Add warning block support in rustdoc]
- [Accept additional user-defined syntax classes in fenced code blocks]
- [rustdoc-search: add support for type parameters]
- [rustdoc: show inner enum and struct in type definition for concrete type]

Compatibility Notes

- [Raise minimum supported Apple OS versions]
- [make Cell::swap panic if the Cells partially overlap]
- [Reject invalid crate names in `--extern`]
- [Don't resolve generic impls that may be shadowed by dyn built-in impls]

Internal Changes

These changes do not affect any public interfaces of Rust, but they represent
significant improvements to the performance or internals of rustc and related

None this cycle.
   2023-12-13 18:39:07 by Amitai Schleier | Files touched by this commit (7)
Log message:
cargo.mk: centralize Darwin -install_name workaround.
   2023-11-17 21:08:12 by Tobias Nygren | Files touched by this commit (1)
Log message: