The NetBSD Project

CVS log for pkgsrc/lang/rust-bin/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / rust-bin

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Nov 14 22:02:09 2026 UTC (35 hours, 23 minutes ago) by wiz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +10 -10 lines
rust: update 1.99.1

From wip, by he@, adam@, and pin@.

1.99.1 is a bugfix release for 1.99.0.

1.99.0

Language

    Add allow-by-default raw_borrows_via_references lint that checks for references that decay immediately into raw borrows
    Extend unconditional_panic lint to function calls that panic when the chunks/windows size is zero
    Stabilize C-variadic function definitions
    Stabilize the ability to use #[unsafe(naked)] functions to define C-variadic functions (#![feature(c_variadic_naked_functions)]).
    Trait methods are now resolved on an adjusted never type (producing a FCW)
    Coerce from inference variables to trait objects if the inference variable is related via subtyping to a type that is known to be Sized
    Stabilize #[my_macro] mod foo;. This allows outlined modules (mod foo;) anywhere in the body of a custom attribute or derive macro.
    Fix the overflowing_literals lint with repeated negation. For instance, it will now no longer lint on --128_i8, which is already detected by the arithmetic_overflow lint.
    Add POSIX symbols to the invalid_runtime_symbol_definitions and suspicious_runtime_symbol_definitions lints
    Lint unused #[path] attributes on inline modules
    Enable unreachable_cfg_select_predicates lint as part of unused lint group
    Stabilize passing 128-bit integers via vector registers with asm! on x86
    Explicitly document that some allocations are allowed to grow in-place (but none are allowed to shrink)
    We now guarantee that the contents of an UnsafeCell can be accessed without going through get
        The invalid_reference_casting lint was adjusted accordingly
    Account for globally enabled target features in global_asm!
    Warn if an invalid doc attribute is used on a macro invocation

Compiler

    Convert -Ctarget-cpu into a target-modifier for AVR, AMDGCN and NVPTX
    Enable static_position_independent_executables on all gnu targets
    When providing a suggestion about a missing method, rustc now prefers an exactly matching name from a doc alias attribute over a similarity search from other method names. If your new users sometimes expect a method under a different name, adding a doc alias will now help them find it via rustc suggestions, in addition to helping them find it via rustdoc search: When suggesting method names, prefer exact doc aliases over similar names

Platform Support

    Promote riscv64-unknown-linux-musl to Tier 2 with host tools

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

Libraries

    Iteration on RangeInclusive (a..=b ranges) is now optimized better in some circumstances. As a side effect of this, the behavior of RangeInclusive values that has already been exhausted (as an iterator) has changed. For example, the return values of start() and end() on such ranges may return different values, and using such ranges as slice indexes may have different behavior. These behaviors were not guaranteed to be stable, so these changes are considered to not be breaking changes.
    Relax transmute_copy to accept ?Sized types
    Update transmute_copy to use a non-unwinding panic
    Don’t escape U+FF9E and U+FF9F in escape_debug_ext
    Re-export core::fmt::NumBuffer in alloc (and std)

Stabilized APIs

    IntoIterator for Box<[T; N]>
    IntoIterator for &Box<[T; N]>
    IntoIterator for &mut Box<[T; N]>
    VecDeque::retain_back
    core::ffi::VaList
    Box::into_non_null
    Box::from_non_null
    Vec::into_parts
    Vec::from_parts
    core::mem::size_of_val_raw
    core::mem::align_of_val_raw
    core::alloc::Layout::for_value_raw
    String::from_utf8_lossy_owned
    string::FromUtf8Error::into_utf8_lossy
    FusedIterator for StepBy<I>
    std::fs::set_times
    std::fs::set_times_nofollow
    <LocalKey<Cell<T>>>::update

Cargo

    Add a new built-in profile debug. This is a preparation for transitioning the dev profile away from debugging to give a saner default for faster development iterations. Currently there is no difference between dev and debug profiles. docs #17214
    Workspace members on edition 2024 or later can now override an inherited workspace dependency’s default-features field. For example, serde = { workspace = true, default-features = false } now turns off default features even when the workspace definition enables them. On earlier editions, default-features = false is ignored with a warning. (RFC 3945) #17126

See also the full Cargo changelog

Rustdoc

    Add new unused_footnote_definition rustdoc lint
    Smarter filtering of trait impls yields performance improvements of 20% on average and up to 40% on some real-world crates. (1, 2, 3, 4, 5)

Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Nov 10 21:20:48 2026 UTC (5 days, 12 hours ago) by pho
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +5 -3 lines
lang/rust-bin: Fix rust-bin-1.98.1 not building/installing on Darwin

Some of the executables that previously didn't have relative rpaths, now
have ones. Turn them into absolute paths as well.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Sep 30 20:01:55 2026 UTC (6 weeks, 4 days ago) by wiz
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -2 lines
rust-bin: update to 1.98.1.

From wip/rust198-bin, prepared by he@, thank you!

Matches lang/rust.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Jul 3 20:58:49 2026 UTC (4 months, 1 week ago) by he
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -2 lines
lang/rust-bin: update to 1.96.1, to track the main package update:

Rust 1.96.1 fixes:

Missing retries / timeouts in Cargo's HTTP client
Miscompilation in a MIR optimization

It also fixes three CVEs affecting libssh2 (which is compiled into Cargo):

CVE-2025-15661
CVE-2026-55199
CVE-2026-55200

Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Jun 11 07:01:57 2026 UTC (5 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -2 lines
rust-bin: update to 1.96.0.

Match lang/rust.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu May 7 13:17:16 2026 UTC (6 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -2 lines
rust-bin: update to 1.95.0.

Provided by he@ in wip.

To match rust195-bin.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Thu Apr 2 19:07:00 2026 UTC (7 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +1 -1 lines
rust-bin: update to 1.94.1.

Based on wip/rust194-bin by he@

Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Jan 14 15:00:33 2026 UTC (10 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -3 lines
rust-bin: update to 1.91 to match lang/rust

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Oct 18 23:03:05 2025 UTC (12 months, 4 weeks ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -2 lines
rust-bin: tweak packaging for Linux

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Oct 18 18:55:56 2025 UTC (12 months, 4 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +1 -1 lines
rust-bin: update to 1.90.0.

To match lang/rust.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon Aug 25 17:52:05 2025 UTC (14 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -1 lines
rust-bin: update to 1.88.0.

Prepared by he@ in wip/rust188-bin.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Jun 17 07:29:07 2025 UTC (16 months, 4 weeks ago) by he
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +10 -10 lines
lang/rust-bin: update to version 1.86.0 to correspond with lang/rust.

Illumos commented out for now since those bits are not yet available.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue Apr 8 09:33:47 2025 UTC (19 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +7 -3 lines
rust-bin: update to 1.85.1.

Based on wip/rust185-bin from he@ with slight changes by myself.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Feb 23 09:14:09 2025 UTC (20 months, 3 weeks ago) by he
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
lang/rust-bin: upgrade to version 1.83.0 corresponding to lang/rust.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Feb 2 14:01:21 2025 UTC (21 months, 1 week ago) by he
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -2 lines
lang/rust-bin: update to version 1.82.0, corresponding to lang/rust.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Nov 28 15:13:49 2024 UTC (23 months, 2 weeks ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2 lines
lang/rust-bin: Extend fix-darwin-install-name harder

In bin, cargo-clippy and rustfmt need @rpath remediation.

(PKG_DEVELOPER did not catch this, but @rpath leakage results in a
package that pkg_add will object to, in a way that cannot be
overriden.)

Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Nov 28 14:49:48 2024 UTC (23 months, 2 weeks ago) by gdt
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +9 -1 lines
lang/rust-bin: Extend fix-darwin-install-name

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Nov 24 16:50:13 2024 UTC (23 months, 3 weeks ago) by he
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +10 -10 lines
lang/rust-bin: update to rust 1.81.0 to correspond w/ lang/rust.

This re-adds binaries for Illumos, since they are now available.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Oct 14 20:52:26 2024 UTC (2 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +57 -50 lines
rust-bin: update to 1.80.1.

Using wip/rust180-bin by he@ and myself, to follow lang/rust.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Sep 12 22:06:19 2024 UTC (2 years, 2 months ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -2 lines
rust-bin: fix packaging for Linux

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Aug 8 15:02:57 2024 UTC (2 years, 3 months ago) by he
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +24 -22 lines
lang/rust-bin: Update to version 1.79.0 to align with lang/rust.

 * Disable NetBSD-*-aarch64eb due to cross-build issues
 * Use re-generated binaries after turning off use of thread-local storage
   on 32- and 64-bit arm
 * Also adjust RPATH of libexec/rust-analyzer-proc-macro-srv to fix
   installation on NetBSD/amd64, and reportedly also Linux and FreeBSD.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Apr 19 22:18:21 2024 UTC (2 years, 6 months ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2 lines
rust-bin: fix packaging for NetBSD/amd64, FreeBSD, and Linux

rust-analyzer has been added to the official upstream Rust packages,
and not modifying its RPATH broke our re-packaging of these.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Apr 19 14:08:39 2024 UTC (2 years, 6 months ago) by pho
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2 lines
lang/rust-bin: Fix build on Darwin

rust-analyzer(1) also got @rpath. Fix it too.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Apr 18 09:36:01 2024 UTC (2 years, 6 months ago) by pin
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +16 -2 lines
lang/rust-bin: update to 1.76.0

Follow rust-src.
For changes check the source package.

As for rust-src, this was prepared in wip by he@

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Mar 3 18:16:43 2024 UTC (2 years, 8 months ago) by he
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +11 -22 lines
lang/rust-bin: upgrade to 1.75.0 to track lang/rust.

Pkgsrc changes:
 * stop pretending to support NetBSD/8.x, all NetBSD binary kits are
   now built for 9.x or newer.  Simplify conditionals correspondingly.

See lang/rust for detailed upstream changes.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Feb 16 04:06:03 2024 UTC (2 years, 9 months ago) by gutteridge
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -3 lines
rust-bin: adjust Linux packaging after version update

Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Feb 14 21:31:14 2024 UTC (2 years, 9 months ago) by pin
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +7 -6 lines
lang/rust-bin: update to 1.74.1

Follow rust-src.
For changes check the source package.

Prepared in wip by he@

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Dec 2 21:32:39 2023 UTC (2 years, 11 months ago) by he
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -11 lines
rust-bin: fix checksum for NetBSD/aarch64, and new bits for NetBSD/powerpc.

I admit that I cannot fully explain how the NetBSD/aarch64 checksum
managed to mismatch, but at least the bits on ftp.netbsd.org and
cdn.netbsd.org agree, also with the local build results I had for
the cross-compiled bits.

Deal with NetBSD/powerpc: 1.74.0 revealed that the bootstrap
kit from rust 1.73.0 (also used here) mis-compiles, ref.
  https://github.com/rust-lang/rust/issues/118099
The new powerpc bootstrap kit is therefore natively compiled, with
an external LLVM (therefore has an exteranl dependency on LLVM)
instead of the rust-supplied internal one / cross-compiled.  Also,
remove vestiges of hints of being able to use this package on
NetBSD/powerpc 8.x, ref. note to tech-pkg of November 28; newer
rust's embedded LLVM uses newer C++ features than what netbsd-8
supports "out of the box".

Bump PKGREVISION, even though this only fixes buildability for
NetBSD/aarch64 and changes contents for NetBSD/powerpc.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Nov 16 09:57:51 2023 UTC (3 years ago) by he
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +11 -11 lines
lang/rust-bin: update to 1.73.0 to mirror update of lang/rust.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Oct 25 05:52:49 2023 UTC (3 years ago) by pin
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +11 -12 lines
lang/rust-bin: update to 1.72.1

Follow rust-src.
For changes check the source package.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Oct 11 23:37:41 2023 UTC (3 years, 1 month ago) by gutteridge
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -3 lines
rust-bin: fix Linux packaging after version update

Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Oct 10 20:20:10 2023 UTC (3 years, 1 month ago) by pin
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +11 -12 lines
lang/rust-bin: update to 1.71.1

Sync with lang/rust, see the later for the ChangeLog.

mipsel-unknown-netbsd has been disabled, as there is currently no source at
https://cdn.NetBSD.org/pub/pkgsrc/distfiles/LOCAL_PORTS/rust/ for 1.71.1

Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 2 19:00:10 2023 UTC (3 years, 1 month ago) by bsiegert
Branches: pkgsrc-2023Q3
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +3 -2 lines
Pullup ticket #6803 / #6804 - requested by he
lang/rust-bin: build fix

Revisions pulled up:
- lang/rust-bin/Makefile                                        1.54-1.55
- lang/rust-bin/distinfo                                        1.28

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Wed Sep 27 17:19:24 UTC 2023

   Modified Files:
   	pkgsrc/lang/rust-bin: Makefile distinfo

   Log Message:
   rust-bin: update the i586 binaries, so the result works on netbsd-9...

   ...and probably newer as well.  Testing status on netbsd-8 is unknown
   at the moment.   Ref. pkgsrc-users@ discussion; the old binaries
   were built on netbsd-8 and require gcc7's shared libs from pkgsrc.
   This set is instead cross-built, and does not depend on an external
   LLVM or external gcc.

   Bump PKGREVISION, since this gets us new i586 binaries.

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Thu Sep 28 12:24:32 UTC 2023

   Modified Files:
   	pkgsrc/lang/rust-bin: Makefile

   Log Message:
   rust-bin: use a revision-specific dist subdir.

   This so that the changed bits get re-fetched, and we don't try to
   re-use an already-fetched binary, and get a checksum mismatch.
   Follow-up on the "new i586 bits" change.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Sep 28 12:24:32 2023 UTC (3 years, 1 month ago) by he
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
rust-bin: use a revision-specific dist subdir.

This so that the changed bits get re-fetched, and we don't try to
re-use an already-fetched binary, and get a checksum mismatch.
Follow-up on the "new i586 bits" change.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Sep 27 17:19:24 2023 UTC (3 years, 1 month ago) by he
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -1 lines
rust-bin: update the i586 binaries, so the result works on netbsd-9...

...and probably newer as well.  Testing status on netbsd-8 is unknown
at the moment.   Ref. pkgsrc-users@ discussion; the old binaries
were built on netbsd-8 and require gcc7's shared libs from pkgsrc.
This set is instead cross-built, and does not depend on an external
LLVM or external gcc.

Bump PKGREVISION, since this gets us new i586 binaries.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Aug 23 14:32:45 2023 UTC (3 years, 2 months ago) by he
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base
Branch point for: pkgsrc-2023Q3
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +14 -4 lines
rust-bin: bump to version 1.70.0 to track main rust package.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu May 4 18:08:18 2023 UTC (3 years, 6 months ago) by he
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2 lines
rust-bin: bump to version 1.69.0 to track main rust package.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Apr 8 18:39:12 2023 UTC (3 years, 7 months ago) by he
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +5 -2 lines
lang/rust-bin: Sync to main rust version, upgrade rust-bin to 1.68.2.

Had to add a couple CHECK_SHLIBS_SKIPs to make it install, though
the libraries are eventually also installed.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Mar 16 18:57:44 2023 UTC (3 years, 8 months ago) by he
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -1 lines
rust-bin: make this install also for NetBSD/powerpc >= 9.0.

We need to change the "netbsd90" suffix to "netbsd", when setting
WRKSRC.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Jan 25 05:17:23 2023 UTC (3 years, 9 months ago) by gutteridge
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
rust-bin: fix packaging on Linux

Rust 1.66.1 no longer ships lib/rustlib/${RUST_ARCH}/bin/gcc-ld/ld.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Jan 23 19:24:54 2023 UTC (3 years, 9 months ago) by he
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +11 -2 lines
rust-bin: bump to 1.66.1 to track the main rust package.

Now includes the mipsel-unknown-netbsd target using the
mips32 cpu type (i.e. mips3 or mips1 is not sufficient).

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Dec 27 21:26:59 2022 UTC (3 years, 10 months ago) by minskim
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +6 -1 lines
lang/rust-bin: Add support for Darwin-*-aarch64

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Dec 11 20:21:08 2022 UTC (3 years, 11 months ago) by he
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
lang/rust-bin: Sync to main rust version, upgrade rust-bin to 1.64.0.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Oct 23 21:38:28 2022 UTC (4 years ago) by he
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
lang/rust-bin: also drop compat80 requirement for armv6hf.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Oct 23 14:59:31 2022 UTC (4 years ago) by he
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +11 -1 lines
lang/rust-bin: add bits for the NetBSD/armv6 version.

This remains untested for now, but at least the build from
over in lang/rust didn't fail...

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Oct 13 02:26:12 2022 UTC (4 years, 1 month ago) by gutteridge
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
rust-bin: fix packaging on Linux

Rust 1.63 no longer ships lib/rustlib/${RUST_ARCH}/bin/gcc-ld/ld64.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Oct 10 21:13:54 2022 UTC (4 years, 1 month ago) by he
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
lang/rust-bin: Sync to main rust version, upgrade rust-bin to 1.63.0.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Sep 4 17:09:13 2022 UTC (4 years, 2 months ago) by he
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
lang/rust-bin: complete the transition to .tar.xz for the NetBSD targets.

Thanks to rjs@ for reporting.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Sep 4 09:57:13 2022 UTC (4 years, 2 months ago) by he
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +24 -16 lines
rust-bin: reduce repetition in NetBSD section, fix aarch64eb entry.

Thanks to pkglint for the need to fix aarch64eb.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Sep 4 06:58:57 2022 UTC (4 years, 2 months ago) by he
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +8 -1 lines
rust-bin: add the aarch64_be NetBSD variant.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Sep 2 12:57:10 2022 UTC (4 years, 2 months ago) by he
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +20 -20 lines
rust-bin: update to 1.62.1.

NetBSD ports go to EXTRACT_SUFX=.tar.xz, so adapt accordingly.
For details of other changes, see commit log for the main rust package.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu May 26 07:17:30 2022 UTC (4 years, 5 months ago) by he
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
Sync to main rust version, upgrade rust-bin to 1.60.0.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Apr 30 21:12:17 2022 UTC (4 years, 6 months ago) by nia
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +5 -5 lines
rust-bin: sync with rust

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Apr 30 21:04:01 2022 UTC (4 years, 6 months ago) by nia
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -3 lines
rust-bin: use OPSYS_VERSION for NetBSD

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Apr 16 15:37:38 2022 UTC (4 years, 7 months ago) by he
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
Sync to main rust version, upgrade rust-bin to 1.59.0.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Mar 3 18:20:09 2022 UTC (4 years, 8 months ago) by he
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
Sync to main rust version, upgrade rust-bin to 1.58.1.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Jan 30 04:31:22 2022 UTC (4 years, 9 months ago) by pho
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -1 lines
Mark the package as MKPIE-unsupported

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Dec 10 19:00:35 2021 UTC (4 years, 11 months ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
rust-bin: fix Linux packaging

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Nov 30 14:40:00 2021 UTC (4 years, 11 months ago) by gdt
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
lang/rust-bin: Update to 1.56.1

This catches up with lang/rust, updates for which contain upstream
changes.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Sep 12 18:51:50 2021 UTC (5 years, 2 months ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -2 lines
rust-bin: fix Linux packaging after version update

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Sep 11 08:38:44 2021 UTC (5 years, 2 months ago) by nia
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +7 -7 lines
rust-bin: sync version with lang/rust

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Sep 8 02:36:18 2021 UTC (5 years, 2 months ago) by gutteridge
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +9 -13 lines
rust-bin: fix FreeBSD and NetBSD packaging of some binaries

Re-do my previous Linux packaging fix in r. 1.26. FreeBSD and NetBSD
both don't need a particular code block that runs patchelf; doing so
only mangles the resulting binaries, so things can be simplified.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Aug 25 02:33:00 2021 UTC (5 years, 2 months ago) by gutteridge
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +10 -3 lines
rust-bin: Linux repackaging fix

Some upstream-provided binaries weren't covered in a code block that
uses patch-elf to tinker with their RPATH entries. There's also an
extra binary provided vs. the NetBSD package, and possibly those for
other OSes. (I don't have Darwin or FreeBSD test environments; those
OSes could need tweaking for this, too.)

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Aug 21 22:06:29 2021 UTC (5 years, 2 months ago) by gutteridge
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
rust-bin: pax is a tool dependency

Build fix for Linux distros that don't ship pax by default.

Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 15 11:29:20 2021 UTC (5 years, 4 months ago) by bsiegert
Branches: pkgsrc-2021Q2
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +10 -7 lines
Pullup ticket #6487 - requested by he
lang/rust-bin: build fix

Revisions pulled up:
- lang/rust-bin/Makefile                                        1.24

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Jul 11 22:25:10 UTC 2021

   Modified Files:
   	pkgsrc/lang/rust-bin: Makefile

   Log Message:
   Correct the names for the NetBSD versions to use.

   This uses the faster "install.sh" script, and also omits the
   "rust-doc" subset, for a much faster installation.

   This is a temporary hack for this version, will be removed on
   the next go-around.

   Apologies for this going un-committed, only myself to blame.
   Should fix part of PR#56304.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Jul 11 22:25:09 2021 UTC (5 years, 4 months ago) by he
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +10 -7 lines
Correct the names for the NetBSD versions to use.

This uses the faster "install.sh" script, and also omits the
"rust-doc" subset, for a much faster installation.

This is a temporary hack for this version, will be removed on
the next go-around.

Apologies for this going un-committed, only myself to blame.
Should fix part of PR#56304.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Jun 13 12:25:02 2021 UTC (5 years, 5 months ago) by he
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base
Branch point for: pkgsrc-2021Q2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
lang/rust-bin: pull over patch to files/install.sh from rust.

Better patch for src/tools/rust-installer/install-template.sh
- remove one path component after share/doc/ as the original code does
- do not change spacing for HACK: section

Bump PKGREVISION.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Jun 12 20:43:41 2021 UTC (5 years, 5 months ago) by he
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +24 -13 lines
Update the NetBSD binaries to ones not including the "docs" part.

Also, pull over the patched install.sh script from the main package,
for quite a lot faster installation, also for the benefit of the
upstream-delivered binaries. (Fix submitted upstream.)

Use the nb1 version suffix on the NetBSD binaries (one-time job for
1.52.1, to be removed on next go-around), but they still extract to
the non-nb1 work directory, so some adjustment needed for that.

Bump PKGREVISION.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Jun 12 09:10:53 2021 UTC (5 years, 5 months ago) by nia
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
rust-bin: sync with lang/rust

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed May 19 10:12:34 2021 UTC (5 years, 5 months ago) by nia
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -2 lines
rust-bin: not broken on -8 powerpc

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue May 18 19:29:52 2021 UTC (5 years, 6 months ago) by he
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +21 -13 lines
Various minor adjustments:
 * Paste NetBSD rust URL only in one place.
 * Follow up a few pkglint messages
 * Add tentative support for NetBSD/powerpc 9.0, apparently ABI changed
   for C++ between 8.0 and 9.0, the 8.0 binary results in unresolved symbol.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue May 18 18:00:01 2021 UTC (5 years, 6 months ago) by nia
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +59 -2 lines
rust-bin: add support for ARM, PowerPC, SPARC

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Apr 25 10:50:57 2021 UTC (5 years, 6 months ago) by nia
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +13 -13 lines
rust-bin: sync with lang/rust by updating to 1.50.0

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jan 2 12:43:20 2021 UTC (5 years, 10 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -4 lines
rust-bin: Update to 1.48.0

Sync version with lang/rust.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Oct 22 18:15:41 2020 UTC (6 years ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -3 lines
rust-bin: remove reference to obsolete files

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Oct 10 17:13:48 2020 UTC (6 years, 1 month ago) by nia
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
rust-bin: Update to 1.47.0

This release contains no new language features, though it does add one
long-awaited standard library feature. It is mostly quality of life
improvements, library stabilizations and const-ifications, and toolchain
improvements.

https://blog.rust-lang.org/2020/10/08/Rust-1.47.html

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Aug 31 09:58:10 2020 UTC (6 years, 2 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -9 lines
rust-bin: apparently, CHECK_RELRO_SKIP takes shell patterns

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Aug 30 21:29:10 2020 UTC (6 years, 2 months ago) by nia
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -4 lines
rust-bin: Move compat80 DEPENDS to more sensible location

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Aug 30 18:26:17 2020 UTC (6 years, 2 months ago) by nia
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +18 -26 lines
rust-bin: Update to 1.46.0

according to various people on tech-pkg@, there are no problems with
the Firefox build

Version 1.46.0 (2020-08-27)
==========================

Language
--------
- [`if`, `match`, and `loop` expressions can now be used in const functions.][72437]
- [Additionally you are now also able to coerce and cast to slices (`&[T]`) in
  const functions.][73862]
- [The `#[track_caller]` attribute can now be added to functions to use the
  function's caller's location information for panic messages.][72445]
- [Recursively indexing into tuples no longer needs parentheses.][71322] E.g.
  `x.0.0` over `(x.0).0`.
- [`mem::transmute` can now be used in static and constants.][72920] **Note**
  You currently can't use `mem::transmute` in constant functions.

Compiler
--------
- [You can now use the `cdylib` target on Apple iOS and tvOS platforms.][73516]
- [Enabled static "Position Independent Executables" by default
  for `x86_64-unknown-linux-musl`.][70740]

Libraries
---------
- [`mem::forget` is now a `const fn`.][73887]
- [`String` now implements `From<char>`.][73466]
- [The `leading_ones`, and `trailing_ones` methods have been stabilised for all
  integer types.][73032]
- [`vec::IntoIter<T>` now implements `AsRef<[T]>`.][72583]
- [All non-zero integer types (`NonZeroU8`) now implement `TryFrom` for their
  zero-able equivalent (e.g. `TryFrom<u8>`).][72717]
- [`&[T]` and `&mut [T]` now implement `PartialEq<Vec<T>>`.][71660]
- [`(String, u16)` now implements `ToSocketAddrs`.][73007]
- [`vec::Drain<'_, T>` now implements `AsRef<[T]>`.][72584]

Stabilized APIs
---------------
- [`Option::zip`]
- [`vec::Drain::as_slice`]

Cargo
-----
Added a number of new environment variables that are now available when
compiling your crate.

- [`CARGO_BIN_NAME` and `CARGO_CRATE_NAME`][cargo/8270] Providing the name of
  the specific binary being compiled and the name of the crate.
- [`CARGO_PKG_LICENSE`][cargo/8325] The license from the manifest of the package.
- [`CARGO_PKG_LICENSE_FILE`][cargo/8387] The path to the license file.

Compatibility Notes
-------------------
- [The target configuration option `abi_blacklist` has been renamed
  to `unsupported_abis`.][74150] The old name will still continue to work.
- [Rustc will now warn if you cast a C-like enum that implements `Drop`.][72331]
  This was previously accepted but will become a hard error in a future release.
- [Rustc will fail to compile if you have a struct with
  `#[repr(i128)]` or `#[repr(u128)]`.][74109] This representation is currently only
  allowed on `enum`s.
- [Tokens passed to `macro_rules!` are now always captured.][73293] This helps
  ensure that spans have the correct information, and may cause breakage if you
  were relying on receiving spans with dummy information.
- [The InnoSetup installer for Windows is no longer available.][72569] This was
  a legacy installer that was replaced by a MSI installer a few years ago but
  was still being built.
- [`{f32, f64}::asinh` now returns the correct values for negative numbers.][72486]
- [Rustc will no longer accept overlapping trait implementations that only
  differ in how the lifetime was bound.][72493]
- [Rustc now correctly relates the lifetime of an existential associated
  type.][71896] This fixes some edge cases where `rustc` would erroneously allow
  you to pass a shorter lifetime than expected.
- [Rustc now dynamically links to `libz` (also called `zlib`) on Linux.][74420]
  The library will need to be installed for `rustc` to work, even though we
  expect it to be already available on most systems.
- [Tests annotated with `#[should_panic]` are broken on ARMv7 while running
  under QEMU.][74820]
- [Pretty printing of some tokens in procedural macros changed.][75453] The
  exact output returned by rustc's pretty printing is an unstable
  implementation detail: we recommend any macro relying on it to switch to a
  more robust parsing system.

[75453]: https://github.com/rust-lang/rust/issues/75453/
[74820]: https://github.com/rust-lang/rust/issues/74820/
[74420]: https://github.com/rust-lang/rust/issues/74420/
[74109]: https://github.com/rust-lang/rust/pull/74109/
[74150]: https://github.com/rust-lang/rust/pull/74150/
[73862]: https://github.com/rust-lang/rust/pull/73862/
[73887]: https://github.com/rust-lang/rust/pull/73887/
[73466]: https://github.com/rust-lang/rust/pull/73466/
[73516]: https://github.com/rust-lang/rust/pull/73516/
[73293]: https://github.com/rust-lang/rust/pull/73293/
[73007]: https://github.com/rust-lang/rust/pull/73007/
[73032]: https://github.com/rust-lang/rust/pull/73032/
[72920]: https://github.com/rust-lang/rust/pull/72920/
[72569]: https://github.com/rust-lang/rust/pull/72569/
[72583]: https://github.com/rust-lang/rust/pull/72583/
[72584]: https://github.com/rust-lang/rust/pull/72584/
[72717]: https://github.com/rust-lang/rust/pull/72717/
[72437]: https://github.com/rust-lang/rust/pull/72437/
[72445]: https://github.com/rust-lang/rust/pull/72445/
[72486]: https://github.com/rust-lang/rust/pull/72486/
[72493]: https://github.com/rust-lang/rust/pull/72493/
[72331]: https://github.com/rust-lang/rust/pull/72331/
[71896]: https://github.com/rust-lang/rust/pull/71896/
[71660]: https://github.com/rust-lang/rust/pull/71660/
[71322]: https://github.com/rust-lang/rust/pull/71322/
[70740]: https://github.com/rust-lang/rust/pull/70740/
[cargo/8270]: https://github.com/rust-lang/cargo/pull/8270/
[cargo/8325]: https://github.com/rust-lang/cargo/pull/8325/
[cargo/8387]: https://github.com/rust-lang/cargo/pull/8387/
[`Option::zip`]: https://doc.rust-lang.org/stable/std/option/enum.Option.html#method.zip
[`vec::Drain::as_slice`]: https://doc.rust-lang.org/stable/std/vec/struct.Drain.html#method.as_slice

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jul 15 15:13:57 2020 UTC (6 years, 4 months ago) by nia
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
urst-bin: Correct sense of condition

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jun 14 15:33:28 2020 UTC (6 years, 5 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -6 lines
Rename rust-bin's PKGNAME to rust-bin. Add rust.mk for rust packages.

This allows rust-bin and rust to coexist in bulk builds (for testing, etc),
but the packages still may not be installed at the same time.

rust.mk as a solution for picking the correct rust variant was suggested
by gdt@. It is intended to be included directly by packages that do not
use cargo.mk, and indirectly by packages that do use cargo.mk.

rust.mk provides one user-settable variable:

RUST_TYPE
	as before, whether to bootstrap rust from source or use
	official binaries. may be "src" or "bin"

And two package-settable variables:

RUST_REQ
	the minimum version of Rust required by the package.
	defaults to "1.20.0"

RUST_RUNTIME
	whether Rust is a runtime dependency, may be "yes" or "no"

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jun 9 15:58:05 2020 UTC (6 years, 5 months ago) by nia
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +29 -22 lines
rustc: Update to 1.44.0

Version 1.44.0 (2020-06-04)
==========================

Language
--------
- [You can now use `async/.await` with `#[no_std]` enabled.][69033]
- [Added the `unused_braces` lint.][70081]

**Syntax-only changes**

- [Expansion-driven outline module parsing][69838]
```rust
#[cfg(FALSE)]
mod foo {
    mod bar {
        mod baz; // `foo/bar/baz.rs` doesn't exist, but no error!
    }
}
```

These are still rejected semantically, so you will likely receive an error but
these changes can be seen and parsed by macros and conditional compilation.

Compiler
--------
- [Rustc now respects the `-C codegen-units` flag in incremental mode.][70156]
  Additionally when in incremental mode rustc defaults to 256 codegen units.
- [Refactored `catch_unwind` to have zero-cost, unless unwinding is enabled and
  a panic is thrown.][67502]
- [Added tier 3\* support for the `aarch64-unknown-none` and
  `aarch64-unknown-none-softfloat` targets.][68334]
- [Added tier 3 support for `arm64-apple-tvos` and
  `x86_64-apple-tvos` targets.][68191]


Libraries
---------
- [Special cased `vec![]` to map directly to `Vec::new()`.][70632] This allows
  `vec![]` to be able to be used in `const` contexts.
- [`convert::Infallible` now implements `Hash`.][70281]
- [`OsString` now implements `DerefMut` and `IndexMut` returning
  a `&mut OsStr`.][70048]
- [Unicode 13 is now supported.][69929]
- [`String` now implements `From<&mut str>`.][69661]
- [`IoSlice` now implements `Copy`.][69403]
- [`Vec<T>` now implements `From<[T; N]>`.][68692] Where `N` is at most 32.
- [`proc_macro::LexError` now implements `fmt::Display` and `Error`.][68899]
- [`from_le_bytes`, `to_le_bytes`, `from_be_bytes`, `to_be_bytes`,
  `from_ne_bytes`, and `to_ne_bytes` methods are now `const` for all
  integer types.][69373]

Stabilized APIs
---------------
- [`PathBuf::with_capacity`]
- [`PathBuf::capacity`]
- [`PathBuf::clear`]
- [`PathBuf::reserve`]
- [`PathBuf::reserve_exact`]
- [`PathBuf::shrink_to_fit`]
- [`f32::to_int_unchecked`]
- [`f64::to_int_unchecked`]
- [`Layout::align_to`]
- [`Layout::pad_to_align`]
- [`Layout::array`]
- [`Layout::extend`]

Cargo
-----
- [Added the `cargo tree` command which will print a tree graph of
  your dependencies.][cargo/8062] E.g.
  ```
    mdbook v0.3.2 (/Users/src/rust/mdbook)
  ├── ammonia v3.0.0
  │   ├── html5ever v0.24.0
  │   │   ├── log v0.4.8
  │   │   │   └── cfg-if v0.1.9
  │   │   ├── mac v0.1.1
  │   │   └── markup5ever v0.9.0
  │   │       ├── log v0.4.8 (*)
  │   │       ├── phf v0.7.24
  │   │       │   └── phf_shared v0.7.24
  │   │       │       ├── siphasher v0.2.3
  │   │       │       └── unicase v1.4.2
  │   │       │           [build-dependencies]
  │   │       │           └── version_check v0.1.5
  ...
  ```
  You can also display dependencies on multiple versions of the same crate with
  `cargo tree -d` (short for `cargo tree --duplicates`).

Misc
----
- [Rustdoc now allows you to specify `--crate-version` to have rustdoc include
  the version in the sidebar.][69494]

Compatibility Notes
-------------------
- [Rustc now correctly generates static libraries on Windows GNU targets with
  the `.a` extension, rather than the previous `.lib`.][70937]
- [Removed the `-C no_integrated_as` flag from rustc.][70345]
- [The `file_name` property in JSON output of macro errors now points the actual
  source file rather than the previous format of `<NAME macros>`.][70969]
  **Note:** this may not point to a file that actually exists on the user's system.
- [The minimum required external LLVM version has been bumped to LLVM 8.][71147]
- [`mem::{zeroed, uninitialised}` will now panic when used with types that do
  not allow zero initialization such as `NonZeroU8`.][66059] This was
  previously a warning.
- [In 1.45.0 (the next release) converting a `f64` to `u32` using the `as`
  operator has been defined as a saturating operation.][71269] This was previously
  undefined behaviour, but you can use the `{f64, f32}::to_int_unchecked` methods to
  continue using the current behaviour, which may be desirable in rare performance
  sensitive situations.

Internal Only
-------------
These changes provide no direct user facing benefits, but represent significant
improvements to the internals and overall performance of rustc and
related tools.

- [dep_graph Avoid allocating a set on when the number reads are small.][69778]
- [Replace big JS dict with JSON parsing.][71250]

[69373]: https://github.com/rust-lang/rust/pull/69373/
[66059]: https://github.com/rust-lang/rust/pull/66059/
[68191]: https://github.com/rust-lang/rust/pull/68191/
[68899]: https://github.com/rust-lang/rust/pull/68899/
[71147]: https://github.com/rust-lang/rust/pull/71147/
[71250]: https://github.com/rust-lang/rust/pull/71250/
[70937]: https://github.com/rust-lang/rust/pull/70937/
[70969]: https://github.com/rust-lang/rust/pull/70969/
[70632]: https://github.com/rust-lang/rust/pull/70632/
[70281]: https://github.com/rust-lang/rust/pull/70281/
[70345]: https://github.com/rust-lang/rust/pull/70345/
[70048]: https://github.com/rust-lang/rust/pull/70048/
[70081]: https://github.com/rust-lang/rust/pull/70081/
[70156]: https://github.com/rust-lang/rust/pull/70156/
[71269]: https://github.com/rust-lang/rust/pull/71269/
[69838]: https://github.com/rust-lang/rust/pull/69838/
[69929]: https://github.com/rust-lang/rust/pull/69929/
[69661]: https://github.com/rust-lang/rust/pull/69661/
[69778]: https://github.com/rust-lang/rust/pull/69778/
[69494]: https://github.com/rust-lang/rust/pull/69494/
[69403]: https://github.com/rust-lang/rust/pull/69403/
[69033]: https://github.com/rust-lang/rust/pull/69033/
[68692]: https://github.com/rust-lang/rust/pull/68692/
[68334]: https://github.com/rust-lang/rust/pull/68334/
[67502]: https://github.com/rust-lang/rust/pull/67502/
[cargo/8062]: https://github.com/rust-lang/cargo/pull/8062/
[`PathBuf::with_capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.with_capacity
[`PathBuf::capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.capacity
[`PathBuf::clear`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.clear
[`PathBuf::reserve`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve
[`PathBuf::reserve_exact`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve_exact
[`PathBuf::shrink_to_fit`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.shrink_to_fit
[`f32::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f32.html#method.to_int_unchecked
[`f64::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f64.html#method.to_int_unchecked
[`Layout::align_to`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.align_to
[`Layout::pad_to_align`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.pad_to_align
[`Layout::array`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.array
[`Layout::extend`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.extend

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jun 3 10:45:04 2020 UTC (6 years, 5 months ago) by nia
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -1 lines
rust*: Add PKG_SKIP_REASON depending on the value of RUST_TYPE

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon May 25 17:53:21 2020 UTC (6 years, 5 months ago) by he
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -4 lines
The ld.elf_so in NetBSD/8.x only obeys RPATH, not RUNPATH,
so fix to force RPATH usage on that platform.
Bump PKGREVISION for good measure.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue May 19 22:23:16 2020 UTC (6 years, 5 months ago) by nia
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
rust-bin: llvm-ar needs fixing too.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue May 19 21:59:03 2020 UTC (6 years, 5 months ago) by nia
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +11 -3 lines
rust-bin: Add compat80 to the local llvm rpath. Limit this to NetBSD<9

Workaround for a problem reported by wiz on pkgsrc-users, pending
more investigation

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue May 19 19:01:10 2020 UTC (6 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -1 lines
rust-bin: set CHECK_RELRO_SKIP for prebuilt binaries

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon May 18 16:22:25 2020 UTC (6 years, 6 months ago) by nia
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
rust: Update COMMENT

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon May 18 16:17:21 2020 UTC (6 years, 6 months ago) by nia
Branches: MAIN
lang: Add rust-bin.

Dumb package that selects and installs a binary rust distribution
based on its guess of your platform (FreeBSD, NetBSD, Linux x86_64 are
all supported). These binaries are the official ones provided by
rust upstream and are the same as those provided by the `rustup` tool.

You can choose to use a binary rust distribution by setting:
RUST_TYPE=bin in mk.conf
(or source distribution with RUST_TYPE=src).

Currently, RUST_TYPE=bin by default ONLY for NetBSD-x86_64. This is
because TNF has been shown to _repeatedly_ be unable and _unwilling_ to
ensure that rust-dependent packages build properly on their
infrastructure, and NetBSD users are all suffering for it.

This was based on minskim's work in pkgsrc-wip.

It was tested by building librsvg and firefox-esr with the resulting
binaries.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>