Next | Query returned 405 messages, browsing 21 to 30 | Previous

History of commit frequency

CVS Commit History:


   2023-11-17 21:08:12 by Tobias Nygren | Files touched by this commit (1)
Log message:
rust: add CHECK_PORTABILITY_SKIP
   2023-11-16 10:49:13 by Havard Eidnes | Files touched by this commit (9)
Log message:
rust: Upgrade to version 1.73.0.

Pkgsrc changes:
 * Adjust patches and cargo checksums to new versions.
 * For an external LLVM, set dependency of llvm >= 15, in accordance
   with the upstream changes.
 * Add a patch with a backport from LLVM 17.0.3 fixing codegen for
   PPC, ref. https://github.com/rust-lang/rust/issues/116845

Upstream changes:

Version 1.73.0 (2023-10-05)
==========================

Language
--------

- [Uplift `clippy::fn_null_check` lint as `useless_ptr_null_checks`.]
  (https://github.com/rust-lang/rust/pull/111717/)
- [Make `noop_method_call` warn by default.]
  (https://github.com/rust-lang/rust/pull/111916/)
- [Support interpolated block for `try` and `async` in macros.]
  (https://github.com/rust-lang/rust/pull/112953/)
- [Make `unconditional_recursion` lint detect recursive drops.]
  (https://github.com/rust-lang/rust/pull/113902/)
- [Future compatibility warning for some impls being incorrectly
  considered not overlapping.]
  (https://github.com/rust-lang/rust/pull/114023/)
- [The `invalid_reference_casting` lint is now **deny-by-default**
  (instead of allow-by-default)]
  (https://github.com/rust-lang/rust/pull/112431

Compiler
--------

- [Write version information in a `.comment` section like GCC/Clang.]
  (https://github.com/rust-lang/rust/pull/97550/)
- [Add documentation on v0 symbol mangling.]
  (https://github.com/rust-lang/rust/pull/97571/)
- [Stabilize `extern "thiscall"` and `"thiscall-unwind"` ABIs.]
  (https://github.com/rust-lang/rust/pull/114562/)
- [Only check outlives goals on impl compared to trait.]
  (https://github.com/rust-lang/rust/pull/109356/)
- [Infer type in irrefutable slice patterns with fixed length as array.]
  (https://github.com/rust-lang/rust/pull/113199/)
- [Discard default auto trait impls if explicit ones exist.]
  (https://github.com/rust-lang/rust/pull/113312/)
- Add several new tier 3 targets:
    - [`aarch64-unknown-teeos`]
      (https://github.com/rust-lang/rust/pull/113480/)
    - [`csky-unknown-linux-gnuabiv2`]
      (https://github.com/rust-lang/rust/pull/113658/)
    - [`riscv64-linux-android`]
      (https://github.com/rust-lang/rust/pull/112858/)
    - [`riscv64gc-unknown-hermit`]
      (https://github.com/rust-lang/rust/pull/114004/)
    - [`x86_64-unikraft-linux-musl`]
      (https://github.com/rust-lang/rust/pull/113411/)
    - [`x86_64-unknown-linux-ohos`]
      (https://github.com/rust-lang/rust/pull/113061/)
- [Add `wasm32-wasi-preview1-threads` as a tier 2 target.]
  (https://github.com/rust-lang/rust/pull/112922/)

Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.

Libraries
---------

- [Add `Read`, `Write` and `Seek` impls for `Arc<File>`.]
  (https://github.com/rust-lang/rust/pull/94748/)
- [Merge functionality of `io::Sink` into `io::Empty`.]
  (https://github.com/rust-lang/rust/pull/98154/)
- [Implement `RefUnwindSafe` for `Backtrace`]
  (https://github.com/rust-lang/rust/pull/100455/)
- [Make `ExitStatus` implement `Default`]
  (https://github.com/rust-lang/rust/pull/106425/)
- [`impl SliceIndex<str> for (Bound<usize>, Bound<usize>)`]
  (https://github.com/rust-lang/rust/pull/111081/)
- [Change default panic handler message format.]
  (https://github.com/rust-lang/rust/pull/112849/)
- [Cleaner `assert_eq!` & `assert_ne!` panic messages.]
  (https://github.com/rust-lang/rust/pull/111071/)
- [Correct the (deprecated) Android `stat` struct definitions.]
  (https://github.com/rust-lang/rust/pull/113130/)

Stabilized APIs
---------------

- [Unsigned `{integer}::div_ceil`]
  (https://doc.rust-lang.org/stable/std/primitiv e.u32.html#method.div_ceil)
- [Unsigned `{integer}::next_multiple_of`]
  (https://doc.rust-lang.org/stable/std/primitive.u32.html#method.next_multiple_of)
- [Unsigned `{integer}::checked_next_multiple_of`]
  \ 
(https://doc.rust-lang.org/stable/std/primitive.u32.html#method.checked_next_multiple_of)
- [`std::ffi::FromBytesUntilNulError`]
  (https://doc.rust-lang.org/stable/std/ffi/struct.FromBytesUntilNulError.html)
- [`std::os::unix::fs::chown`]
  (https://doc.rust-lang.org/stable/std/os/unix/fs/fn.chown.html)
- [`std::os::unix::fs::fchown`]
  (https://doc.rust-lang.org/stable/std/os/unix/fs/fn.fchown.html)
- [`std::os::unix::fs::lfchown`]
  (https://doc.rust-lang.org/stable/std/os/unix/fs/fn.lchown.html)
- [`LocalKey::<Cell<T>>::get`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.get)
- [`LocalKey::<Cell<T>>::set`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.set)
- [`LocalKey::<Cell<T>>::take`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.take)
- [`LocalKey::<Cell<T>>::replace`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.replace)
- [`LocalKey::<RefCell<T>>::with_borrow`]
  \ 
(https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.with_borrow)
- [`LocalKey::<RefCell<T>>::with_borrow_mut`]
  \ 
(https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.with_borrow_mut)
- [`LocalKey::<RefCell<T>>::set`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.set-1)
- [`LocalKey::<RefCell<T>>::take`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.take-1)
- [`LocalKey::<RefCell<T>>::replace`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.replace-1)

These APIs are now stable in const contexts:

- [`rc::Weak::new`]
  (https://doc.rust-lang.org/stable/alloc/rc/struct.Weak.html#method.new)
- [`sync::Weak::new`]
  (https://doc.rust-lang.org/stable/alloc/sync/struct.Weak.html#method.new)
- [`NonNull::as_ref`]
  (https://doc.rust-lang.org/stable/core/ptr/struct.NonNull.html#method.as_ref)

Cargo
-----

- [Encode URL params correctly for `SourceId` in `Cargo.lock`.]
  (https://github.com/rust-lang/cargo/pull/12280/)
- [Bail out an error when using `cargo::` in custom build script.]
  (https://github.com/rust-lang/cargo/pull/12332/)

Misc
----

Compatibility Notes
-------------------

- [Update the minimum external LLVM to 15.]
  (https://github.com/rust-lang/rust/pull/114148/)
- [Check for non-defining uses of return position `impl Trait`.]
  (https://github.com/rust-lang/rust/pull/112842/)

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 tools.

- [Remove LLVM pointee types, supporting only opaque pointers.]
  (https://github.com/rust-lang/rust/pull/105545/)
- [Port PGO/LTO/BOLT optimized build pipeline to Rust.]
  (https://github.com/rust-lang/rust/pull/112235/)
- [Replace in-tree `rustc_apfloat` with the new version of the crate.]
  (https://github.com/rust-lang/rust/pull/113843/)
- [Update to LLVM 17.]
  (https://github.com/rust-lang/rust/pull/114048/)
- [Add `internal_features` lint for internal unstable features.]
  (https://github.com/rust-lang/rust/pull/108955/)
- [Mention style for new syntax in tracking issue template.]
  (https://github.com/rust-lang/rust/pull/113586/)
   2023-11-08 14:21:43 by Thomas Klausner | Files touched by this commit (2377)
Log message:
*: recursive bump for icu 74.1
   2023-10-25 11:58:28 by Ryo ONODERA | Files touched by this commit (1)
Log message:
rust: Fix chesksum for vendor/libc
   2023-10-25 07:50:43 by pin | Files touched by this commit (79) | Package updated
Log message:
lang/rust: update to 1.72.1

Packaged in wip by he@ and adam@ with minor adjustments from myself.

v1.72.1
Changes
 - Adjust codegen change to improve LLVM codegen
 - rustdoc: Fix self ty params in objects with lifetimes
 - Fix regression in compile times
 - Resolve some ICE regressions in the compiler:
     - #115215
     - #115559

v1.72.0
Language
 - Replace const eval limit by a lint and add an exponential backoff warning
 - expand: Change how #![cfg(FALSE)] behaves on crate root
 - Stabilize inline asm for LoongArch64
 - Uplift clippy::undropped_manually_drops lint
 - Uplift clippy::invalid_utf8_in_unchecked lint as invalid_from_utf8_unchecked
   and invalid_from_utf8
 - Uplift clippy::cast_ref_to_mut lint as invalid_reference_casting
 - Uplift clippy::cmp_nan lint as invalid_nan_comparisons
 - resolve: Remove artificial import ambiguity errors
 - Don’t require associated types with Self: Sized bounds in dyn Trait objects

Compiler
 - Remember names of cfg-ed out items to mention them in diagnostics
 - Support for native WASM exceptions
 - Add support for NetBSD/aarch64-be (big-endian arm64).
 - Write to stdout if - is given as output file
 - Force all native libraries to be statically linked when linking a static
   binary
 - Add Tier 3 support for loongarch64-unknown-none*
 - Prevent .eh_frame from being emitted for -C panic=abort
 - Support 128-bit enum variant in debuginfo codegen
 - compiler: update solaris/illumos to enable tsan support.

Refer to Rust’s platform support page, platform-support-doc for more
information on Rust’s tiered platform support.

Libraries
 - Document memory orderings of thread::{park, unpark}
 - io: soften ‘at most one write attempt’ requirement in io::Write::write
 - Specify behavior of HashSet::insert
 - Relax implicit T: Sized bounds on BufReader<T>, BufWriter<T> and \ 
LineWriter<T>
 - Update runtime guarantee for select_nth_unstable
 - Return Ok on kill if process has already exited
 - Implement PartialOrd for Vecs over different allocators
 - Use 128 bits for TypeId hash
 - Don’t drain-on-drop in DrainFilter impls of various collections.
 - Make {Arc,Rc,Weak}::ptr_eq ignore pointer metadata

Rustdoc
 - Allow whitespace as path separator like double colon
 - Add search result item types after their name
 - Search for slices and arrays by type with []
 - Clean up type unification and “unboxing”

Stabilized APIs
 impl<T: Send> Sync for mpsc::Sender<T>
 impl TryFrom<&OsStr> for &str
 String::leak

These APIs are now stable in const contexts:
 CStr::from_bytes_with_nul
 CStr::to_bytes
 CStr::to_bytes_with_nul
 CStr::to_str

Cargo
 - Enable -Zdoctest-in-workspace by default. When running each documentation
   test, the working directory is set to the root directory of the package the
   test belongs to. docs #12221 #12288
 - Add support of the “default” keyword to reset previously set build.jobs
   parallelism back to the default. #12222

Compatibility Notes
 - Alter Display for Ipv6Addr for IPv4-compatible addresses
 - Cargo changed feature name validation check to a hard error. The warning was
   added in Rust 1.49. These extended characters aren’t allowed on crates.io,
   so this should only impact users of other registries, or people who don’t
   publish to a registry. #12291
 - Demoted mips*-unknown-linux-gnu* targets from host tier 2 to target tier 3 \ 
support.
   2023-10-25 00:11:51 by Thomas Klausner | Files touched by this commit (2298)
Log message:
*: bump for openssl 3
   2023-10-23 19:10:23 by Greg Troxel | Files touched by this commit (1)
Log message:
lang/rust: Document maintenance plan

as floated on tech-pkg without objections.
   2023-10-11 17:52:51 by Jonathan Perkin | Files touched by this commit (2)
Log message:
rust: Add forgotten illumos bootstrap bump.

Note that while updating the checksum, I noticed that the NetBSD/i586 bootstrap
kits had changed too, so it's possible they are currently broken.
   2023-10-10 18:28:01 by pin | Files touched by this commit (1) | Package updated
Log message:
lang/rust: restore USE_CXX_FEATURES

lost during the last update.
   2023-10-10 15:12:33 by pin | Files touched by this commit (69) | Package updated
Log message:
lang/rust: update to 1.71.1

Packaged by he@ and adam@ in wip
Merge request by gdt@

v1.71.1
 - Fix CVE-2023-38497: Cargo did not respect the umask when extracting
   dependencies
 - Fix bash completion for users of Rustup
 - Do not show suspicious_double_ref_op lint when calling borrow()
 - Fix ICE: substitute types before checking inlining compatibility
 - Fix ICE: don't use can_eq in derive(..) suggestion for missing method
 - Fix building Rust 1.71.0 from the source tarball

v1.71.0
Language
 - Stabilize raw-dylib, link_ordinal, import_name_type and -Cdlltool.
 - Uplift clippy::{drop,forget}_{ref,copy} lints.
 - Type inference is more conservative around constrained vars.
 - Use fulfillment to check Drop impl compatibility

Compiler
 - Evaluate place expression in PlaceMention, making let _ = patterns more
   consistent with respect to the borrow checker.
 - Add --print deployment-target flag for Apple targets.
 - Stabilize extern "C-unwind" and friends. The existing extern \ 
"C" etc. may
   change behavior for cross-language unwinding in a future release.
 - Update the version of musl used on *-linux-musl targets to 1.2.3, enabling
   time64 on 32-bit systems.
 - Stabilize debugger_visualizer for embedding metadata like Microsoft's Natvis.
 - Enable flatten-format-args by default.
 - Make Self respect tuple constructor privacy.
 - Improve niche placement by trying two strategies and picking the better
   result.
 - Use apple-m1 as the target CPU for aarch64-apple-darwin.
 - Add Tier 3 support for the x86_64h-apple-darwin target.
 - Promote loongarch64-unknown-linux-gnu to Tier 2 with host tools.

Refer to Rust's platform support page for more information on Rust's tiered
platform support.

Libraries
 - Rework handling of recursive panics. Additional panics are allowed while
   unwinding, as long as they are caught before escaping a Drop implementation,
   but panicking within a panic hook is now an immediate abort.
 - Loosen From<&[T]> for Box<[T]> bound to T: Clone.
 - Remove unnecessary T: Send bound in Error for mpsc::SendError<T> and
   TrySendError<T>.
 - Fix docs for alloc::realloc to match Layout requirements that the size must
   not exceed isize::MAX.
 - Document const {} syntax for std::thread_local. This syntax was stabilized
   in Rust 1.59, but not previously mentioned in release notes.

Stabilized APIs
    CStr::is_empty
    BuildHasher::hash_one
    NonZeroI*::is_positive
    NonZeroI*::is_negative
    NonZeroI*::checked_neg
    NonZeroI*::overflowing_neg
    NonZeroI*::saturating_neg
    NonZeroI*::wrapping_neg
    Neg for NonZeroI*
    Neg for &NonZeroI*
    From<[T; N]> for (T...) (array to N-tuple for N in 1..=12)
    From<(T...)> for [T; N] (N-tuple to array for N in 1..=12)
    windows::io::AsHandle for Box<T>
    windows::io::AsHandle for Rc<T>
    windows::io::AsHandle for Arc<T>
    windows::io::AsSocket for Box<T>
    windows::io::AsSocket for Rc<T>
    windows::io::AsSocket for Arc<T>

These APIs are now stable in const contexts:
    <*const T>::read
    <*const T>::read_unaligned
    <*mut T>::read
    <*mut T>::read_unaligned
    ptr::read
    ptr::read_unaligned
    <[T]>::split_at

Cargo
 - Allow named debuginfo options in Cargo.toml.
 - Add workspace_default_members to the output of cargo metadata.
 - Automatically inherit workspace fields when running cargo new/cargo init.

Rustdoc
 - Add a new rustdoc::unescaped_backticks lint for broken inline code.
 - Support strikethrough with single tildes. (~~old~~ vs. ~new~)

Compatibility Notes
 - Remove structural match from TypeId. Code that uses a constant TypeId in a
   pattern will potentially be broken. Known cases have already been fixed
   -- in particular, users of the log crate's kv_unstable feature should update
   to log v0.4.18 or later.
 - Add a sysroot crate to represent the standard library crates. This does not
   affect stable users, but may require adjustment in tools that build their
   own standard library.
 - Cargo optimizes its usage under rustup. When Cargo detects it will run rustc
   pointing to a rustup proxy, it'll try bypassing the proxy and use the
   underlying binary directly. There are assumptions around the interaction
   with rustup and RUSTUP_TOOLCHAIN. However, it's not expected to affect
   normal users.
 - When querying a package, Cargo tries only the original name, all hyphens,
   and all underscores to handle misspellings. Previously, Cargo tried each
   combination of hyphens and underscores, causing excessive requests to
   crates.io.
 - Cargo now disallows RUSTUP_HOME and RUSTUP_TOOLCHAIN in the [env]
   configuration table. This is considered to be not a use case Cargo would
   like to support, since it will likely cause problems or lead to confusion.

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
tools.

Next | Query returned 405 messages, browsing 21 to 30 | Previous