--- - branch: MAIN date: Mon Apr 19 17:08:09 UTC 2021 files: - new: '1.230' old: '1.229' path: pkgsrc/lang/rust/Makefile pathrev: pkgsrc/lang/rust/Makefile@1.230 type: modified - new: '1.8' old: '1.7' path: pkgsrc/lang/rust/buildlink3.mk pathrev: pkgsrc/lang/rust/buildlink3.mk@1.8 type: modified - new: '1.8' old: '1.7' path: pkgsrc/lang/rust/platform.mk pathrev: pkgsrc/lang/rust/platform.mk@1.8 type: modified - new: '1.4' old: '1.3' path: pkgsrc/lang/rust/cross.mk pathrev: pkgsrc/lang/rust/cross.mk@1.4 type: modified - new: '1.129' old: '1.128' path: pkgsrc/lang/rust/distinfo pathrev: pkgsrc/lang/rust/distinfo@1.129 type: modified - new: '1.2' old: '1.1' path: pkgsrc/lang/rust/patches/patch-compiler_rustc__llvm_build.rs pathrev: pkgsrc/lang/rust/patches/patch-compiler_rustc__llvm_build.rs@1.2 type: modified - new: '1.2' old: '1.1' path: pkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_thread.rs pathrev: pkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_thread.rs@1.2 type: modified - new: '1.2' old: '1.1' path: pkgsrc/lang/rust/patches/patch-library_unwind_build.rs pathrev: pkgsrc/lang/rust/patches/patch-library_unwind_build.rs@1.2 type: modified - new: '1.2' old: '1.1' path: pkgsrc/lang/rust/patches/patch-src_bootstrap_compile.rs pathrev: pkgsrc/lang/rust/patches/patch-src_bootstrap_compile.rs@1.2 type: modified - new: '1.2' old: '1.1' path: pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_CMakeLists.txt pathrev: pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_CMakeLists.txt@1.2 type: modified - new: '1.2' old: '1.1' path: pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_include_llvm_Analysis_ConstantFolding.h pathrev: pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_include_llvm_Analysis_ConstantFolding.h@1.2 type: modified - new: '1.2' old: '1.1' path: pkgsrc/lang/rust/patches/patch-src_tools_rls_rls_src_cmd.rs pathrev: pkgsrc/lang/rust/patches/patch-src_tools_rls_rls_src_cmd.rs@1.2 type: modified - new: '1.2' old: '1.1' path: pkgsrc/lang/rust/patches/patch-vendor_libc_src_unix_solarish_mod.rs pathrev: pkgsrc/lang/rust/patches/patch-vendor_libc_src_unix_solarish_mod.rs@1.2 type: modified - new: '1.2' old: '1.1' path: pkgsrc/lang/rust/patches/patch-vendor_lzma-sys_config.h pathrev: pkgsrc/lang/rust/patches/patch-vendor_lzma-sys_config.h@1.2 type: modified - new: '1.2' old: '1.1' path: pkgsrc/lang/rust/patches/patch-vendor_stacker_src_lib.rs pathrev: pkgsrc/lang/rust/patches/patch-vendor_stacker_src_lib.rs@1.2 type: modified - new: '1.1' old: '0' path: pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs pathrev: pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_i586__unknown__netbsd.rs@1.1 type: added - new: '1.1' old: '0' path: pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_mod.rs pathrev: pkgsrc/lang/rust/patches/patch-compiler_rustc__target_src_spec_mod.rs@1.1 type: added - new: '1.1' old: '0' path: pkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_mod.rs pathrev: pkgsrc/lang/rust/patches/patch-library_std_src_sys_unix_mod.rs@1.1 type: added - new: '1.5' old: '1.4' path: pkgsrc/lang/rust/patches/patch-src_bootstrap_bootstrap.py pathrev: pkgsrc/lang/rust/patches/patch-src_bootstrap_bootstrap.py@1.5 type: modified - new: '1.5' old: '1.4' path: pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake pathrev: pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake@1.5 type: modified - new: '1.14' old: '1.13' path: pkgsrc/lang/rust/patches/patch-src_bootstrap_builder.rs pathrev: pkgsrc/lang/rust/patches/patch-src_bootstrap_builder.rs@1.14 type: modified - new: '1.8' old: '1.7' path: pkgsrc/lang/rust/patches/patch-src_bootstrap_lib.rs pathrev: pkgsrc/lang/rust/patches/patch-src_bootstrap_lib.rs@1.8 type: modified - new: '1.3' old: '1.2' path: pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp pathrev: pkgsrc/lang/rust/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp@1.3 type: modified - new: '1.3' old: '1.2' path: pkgsrc/lang/rust/patches/patch-src_tools_rls_rls_src_server_io.rs pathrev: pkgsrc/lang/rust/patches/patch-src_tools_rls_rls_src_server_io.rs@1.3 type: modified - new: '1.3' old: '1.2' path: pkgsrc/lang/rust/patches/patch-vendor_openssl-src_src_lib.rs pathrev: pkgsrc/lang/rust/patches/patch-vendor_openssl-src_src_lib.rs@1.3 type: modified - new: '1.4' old: '1.3' path: pkgsrc/lang/rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs pathrev: pkgsrc/lang/rust/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs@1.4 type: modified - new: '1.6' old: '1.5' path: pkgsrc/lang/rust/patches/patch-src_tools_cargo_tests_testsuite_build.rs pathrev: pkgsrc/lang/rust/patches/patch-src_tools_cargo_tests_testsuite_build.rs@1.6 type: modified id: 20210419T170809Z.c3b55309d0cdbcd6281dc5813fcf19c3bdd6d38f log: | Update lang/rust to version 1.50.0. Pkgsrc changes: * Adjust patches, re-compute line offsets, fix capitalization. * Remove i686/FreeBSD support, no longer provided upstream. * Bump bootstraps to 1.49.0. * Change USE_TOOLS from bsdtar to gtar. * Reduce diffs to pkgsrc-wip package patches. * Allow rust.BUILD_TARGET to override automatic choice of target. * Add an i586/NetBSD (pentium) bootstrap variant (needs testing), not yet added as bootstrap since 1.49 doesn't have that variant. Upstream changes: Version 1.50.0 (2021-02-11) ============================ Language ----------------------- - [You can now use `const` values for `x` in `[x; N]` array expressions.][79270] This has been technically possible since 1.38.0, as it was unintentionally stabilized. - [Assignments to `ManuallyDrop` union fields are now considered safe.][78068] Compiler ----------------------- - [Added tier 3\* support for the `armv5te-unknown-linux-uclibceabi` target.][78142] - [Added tier 3 support for the `aarch64-apple-ios-macabi` target.][77484] - [The `x86_64-unknown-freebsd` is now built with the full toolset.][79484] \* Refer to Rust's [platform support page][forge-platform-support] for more information on Rust's tiered platform support. Libraries ----------------------- - [`proc_macro::Punct` now implements `PartialEq`.][78636] - [`ops::{Index, IndexMut}` are now implemented for fixed sized arrays of any length.][74989] - [On Unix platforms, the `std::fs::File` type now has a "niche" of `-1`.][74699] This value cannot be a valid file descriptor, and now means `Option` takes up the same amount of space as `File`. Stabilized APIs --------------- - [`bool::then`] - [`btree_map::Entry::or_insert_with_key`] - [`f32::clamp`] - [`f64::clamp`] - [`hash_map::Entry::or_insert_with_key`] - [`Ord::clamp`] - [`RefCell::take`] - [`slice::fill`] - [`UnsafeCell::get_mut`] The following previously stable methods are now `const`. - [`IpAddr::is_ipv4`] - [`IpAddr::is_ipv6`] - [`Layout::size`] - [`Layout::align`] - [`Layout::from_size_align`] - `pow` for all integer types. - `checked_pow` for all integer types. - `saturating_pow` for all integer types. - `wrapping_pow` for all integer types. - `next_power_of_two` for all unsigned integer types. - `checked_power_of_two` for all unsigned integer types. Cargo ----------------------- - [Added the `[build.rustc-workspace-wrapper]` option.][cargo/8976] This option sets a wrapper to execute instead of `rustc`, for workspace members only. - [`cargo:rerun-if-changed` will now, if provided a directory, scan the entire contents of that directory for changes.][cargo/8973] - [Added the `--workspace` flag to the `cargo update` command.][cargo/8725] Misc ---- - [The search results tab and the help button are focusable with keyboard in rustdoc.][79896] - [Running tests will now print the total time taken to execute.][75752] Compatibility Notes ------------------- - [The `compare_and_swap` method on atomics has been deprecated.][79261] It's recommended to use the `compare_exchange` and `compare_exchange_weak` methods instead. - [Changes in how `TokenStream`s are checked have fixed some cases where you could write unhygenic `macro_rules!` macros.][79472] - [`#![test]` as an inner attribute is now considered unstable like other inner macro attributes, and reports an error by default through the `soft_unstable` lint.][79003] - [Overriding a `forbid` lint at the same level that it was set is now a hard error.][78864] - [Dropped support for all cloudabi targets.][78439] - [You can no longer intercept `panic!` calls by supplying your own macro.][78343] It's recommended to use the `#[panic_handler]` attribute to provide your own implementation. - [Semi-colons after item statements (e.g. `struct Foo {};`) now produce a warning.][78296] [74989]: https://github.com/rust-lang/rust/pull/74989 [79261]: https://github.com/rust-lang/rust/pull/79261 [79896]: https://github.com/rust-lang/rust/pull/79896 [79484]: https://github.com/rust-lang/rust/pull/79484 [79472]: https://github.com/rust-lang/rust/pull/79472 [79270]: https://github.com/rust-lang/rust/pull/79270 [79003]: https://github.com/rust-lang/rust/pull/79003 [78864]: https://github.com/rust-lang/rust/pull/78864 [78636]: https://github.com/rust-lang/rust/pull/78636 [78439]: https://github.com/rust-lang/rust/pull/78439 [78343]: https://github.com/rust-lang/rust/pull/78343 [78296]: https://github.com/rust-lang/rust/pull/78296 [78068]: https://github.com/rust-lang/rust/pull/78068 [75752]: https://github.com/rust-lang/rust/pull/75752 [74699]: https://github.com/rust-lang/rust/pull/74699 [78142]: https://github.com/rust-lang/rust/pull/78142 [77484]: https://github.com/rust-lang/rust/pull/77484 [cargo/8976]: https://github.com/rust-lang/cargo/pull/8976 [cargo/8973]: https://github.com/rust-lang/cargo/pull/8973 [cargo/8725]: https://github.com/rust-lang/cargo/pull/8725 [`IpAddr::is_ipv4`]: https://doc.rust-lang.org/stable/std/net/enum.IpAddr.html#method.is_ipv4 [`IpAddr::is_ipv6`]: https://doc.rust-lang.org/stable/std/net/enum.IpAddr.html#method.is_ipv6 [`Layout::align`]: https://doc.rust-lang.org/stable/std/alloc/struct.Layout.html#method.align [`Layout::from_size_align`]: https://doc.rust-lang.org/stable/std/alloc/struct.Layout.html#method.from_size_align [`Layout::size`]: https://doc.rust-lang.org/stable/std/alloc/struct.Layout.html#method.size [`Ord::clamp`]: https://doc.rust-lang.org/stable/std/cmp/trait.Ord.html#method.clamp [`RefCell::take`]: https://doc.rust-lang.org/stable/std/cell/struct.RefCell.html#method.take [`UnsafeCell::get_mut`]: https://doc.rust-lang.org/stable/std/cell/struct.UnsafeCell.html#method.get_mut [`bool::then`]: https://doc.rust-lang.org/stable/std/primitive.bool.html#method.then [`btree_map::Entry::or_insert_with_key`]: https://doc.rust-lang.org/stable/std/collections/btree_map/enum.Entry.html#method.or_insert_with_key [`f32::clamp`]: https://doc.rust-lang.org/stable/std/primitive.f32.html#method.clamp [`f64::clamp`]: https://doc.rust-lang.org/stable/std/primitive.f64.html#method.clamp [`hash_map::Entry::or_insert_with_key`]: https://doc.rust-lang.org/stable/std/collections/hash_map/enum.Entry.html#method.or_insert_with_key [`slice::fill`]: https://doc.rust-lang.org/stable/std/primitive.slice.html#method.fill module: pkgsrc subject: 'CVS commit: pkgsrc/lang/rust' unixtime: '1618852089' user: he