notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Port details
rust Language with a focus on memory safety and concurrency
1.61.0 lang on this many watch lists=14 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.59.0Version of this port present on the latest quarterly branch.
Maintainer: rust@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2012-01-23 16:07:20
Last Update: 2022-05-31 13:06:17
Commit Hash: aa578f2
People watching this port, also watch:: pkg, smartmontools, libdrm, indexinfo, git
License: APACHE20 MIT
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. /usr/local/share/licenses/rust-1.61.0/catalog.mk
  2. /usr/local/share/licenses/rust-1.61.0/LICENSE
  3. /usr/local/share/licenses/rust-1.61.0/APACHE20
  4. /usr/local/share/licenses/rust-1.61.0/MIT
Collapse this list.
Dependency lines:
  • rust>0:lang/rust
Conflicts:
CONFLICTS_INSTALL:
  • rust-nightly
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/lang/rust/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/rust
  • pkg install rust
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rust
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le powerpc riscv64
distinfo:
Packages (timestamps in pop-ups are UTC):
rust
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd641.55.01.53.0
FreeBSD:11:armv6--
FreeBSD:11:i3861.55.01.53.0
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-1.59.0
FreeBSD:12:amd641.61.01.59.0
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3861.61.01.59.0
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch641.61.01.59.0
FreeBSD:13:amd641.61.01.59.0
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3861.61.01.59.0
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc641.49.01.53.0
FreeBSD:14:aarch641.61.0-
FreeBSD:14:amd641.61.0-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3861.61.0-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc641.51.0-
 

Slave ports:
  1. lang/rust-nightly

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake
  2. ninja : devel/ninja
  3. pkgconf>=1.3.0_1 : devel/pkgconf
  4. python3.8 : lang/python38
Library dependencies:
  1. libcurl.so : ftp/curl
This port is required by:
for Build
  1. accessibility/sctd
  2. accessibility/wl-gammarelay-rs
  3. audio/gnome-podcasts
  4. audio/lewton
  5. audio/myxer
  6. audio/ncspot
  7. audio/shortwave
Expand this list (221 items / 214 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. audio/spotify-tui
  3. audio/spotifyd
  4. benchmarks/hyperfine
  5. benchmarks/inferno
  6. converters/yj-bruceadams
  7. databases/ods2sql
  8. databases/redisjson
  9. databases/xls2txt
  10. deskutils/just
  11. deskutils/sigi
  12. deskutils/solanum
  13. deskutils/taskwarrior-tui
  14. devel/bingrep
  15. devel/cargo-c
  16. devel/cargo-generate
  17. devel/desed
  18. devel/dtool
  19. devel/elfcat
  20. devel/gbump
  21. devel/gfold
  22. devel/git-absorb
  23. devel/git-delta
  24. devel/gitui
  25. devel/grcov
  26. devel/grex
  27. devel/interactive_rebase_tool
  28. devel/pijul
  29. devel/py-maturin
  30. devel/racer
  31. devel/rust-analyzer
  32. devel/rust-bindgen
  33. devel/rust-cbindgen
  34. devel/sccache
  35. devel/sentry-cli
  36. devel/stylua
  37. devel/texlab
  38. devel/tokei
  39. devel/wrangler
  40. dns/dog
  41. dns/doh-proxy
  42. dns/encrypted-dns-server
  43. editors/helix
  44. editors/kak-lsp
  45. editors/kibi
  46. editors/parinfer-rust
  47. editors/xi-core
  48. editors/xi-term
  49. finance/tickrs
  50. games/0ad
  51. games/abstreet
  52. games/anki
  53. games/dose-response
  54. games/fishfight
  55. games/genact
  56. games/jaggedalliance2
  57. games/rpg-cli
  58. games/veloren
  59. graphics/dssim
  60. graphics/gifski
  61. graphics/ikona
  62. graphics/libopenraw
  63. graphics/librsvg2-rust
  64. graphics/pastel
  65. graphics/rx
  66. graphics/svgbob
  67. graphics/viu
  68. java/icedtea-web
  69. lang/gleam
  70. lang/rust-bootstrap
  71. lang/spidermonkey78
  72. lang/spidermonkey91
  73. mail/thunderbird
  74. math/kalker
  75. math/savage
  76. misc/broot
  77. misc/ruut
  78. misc/xd-rust
  79. misc/xplr
  80. multimedia/ab-av1
  81. multimedia/av1an
  82. multimedia/gstreamer1-plugins-rust
  83. multimedia/helvum
  84. multimedia/kooha
  85. multimedia/librav1e
  86. multimedia/librespot
  87. multimedia/neolink
  88. multimedia/rav1e
  89. multimedia/ringrtc
  90. multimedia/scte35dump
  91. multimedia/termplay
  92. net/findomain
  93. net/gemserv
  94. net/krill
  95. net/oha
  96. net/proby
  97. net/quiche
  98. net/rabbiteer
  99. net/routinator
  100. net-im/conduit
  101. net-im/fractal
  102. net-im/libsignal-client
  103. net-im/libsignal-node
  104. net-im/yume
  105. net-im/zkgroup
  106. net-mgmt/bandwhich
  107. net-mgmt/nfs-exporter
  108. net-p2p/openethereum
  109. ports-mgmt/pkg-graph
  110. ports-mgmt/sccache-overlay
  111. security/acmed
  112. security/arti
  113. security/authenticator
  114. security/cargo-audit
  115. security/clamav
  116. security/cloak
  117. security/gpg-tui
  118. security/rustscan
  119. security/sequoia
  120. security/sniffglue
  121. security/solana
  122. security/suricata
  123. security/vaultwarden
  124. security/weggli
  125. shells/ion
  126. shells/nsh
  127. shells/starship
  128. sysutils/b3sum
  129. sysutils/bkt
  130. sysutils/bupstash
  131. sysutils/czkawka
  132. sysutils/diskonaut
  133. sysutils/diskus
  134. sysutils/dua-cli
  135. sysutils/dust
  136. sysutils/exa
  137. sysutils/fd
  138. sysutils/flowgger
  139. sysutils/fselect
  140. sysutils/fusefs-sandboxfs
  141. sysutils/fusefs-xfuse
  142. sysutils/gstat-rs
  143. sysutils/handlr
  144. sysutils/hexyl
  145. sysutils/jail_exporter
  146. sysutils/lsd
  147. sysutils/mcfly
  148. sysutils/onefetch
  149. sysutils/potnet
  150. sysutils/rsfetch
  151. sysutils/tealdeer
  152. sysutils/vector
  153. sysutils/vivid
  154. sysutils/yadf
  155. sysutils/zellij
  156. sysutils/zoxide
  157. sysutils/ztop
  158. textproc/angle-grinder
  159. textproc/bat
  160. textproc/cast2gif
  161. textproc/difftastic
  162. textproc/htmlq
  163. textproc/jless
  164. textproc/jql
  165. textproc/mdbook
  166. textproc/mdbook-linkcheck
  167. textproc/mdbook-mermaid
  168. textproc/meilisearch
  169. textproc/ripgrep
  170. textproc/ripgrep-all
  171. textproc/sd
  172. textproc/sonic
  173. textproc/xsv-rs
  174. www/castor
  175. www/deno
  176. www/ffsend
  177. www/firefox
  178. www/firefox-esr
  179. www/garage
  180. www/geckodriver
  181. www/jwt-cli
  182. www/lychee
  183. www/miniserve
  184. www/monolith
  185. www/newsboat
  186. www/py-adblock
  187. www/rearx
  188. www/so
  189. www/tuifeed
  190. www/websocat
  191. www/xh
  192. www/zola
  193. x11/admiral
  194. x11/alacritty
  195. x11/inputplug
  196. x11/kickoff
  197. x11/sirula
  198. x11/squeekboard
  199. x11/swayr
  200. x11/wezterm
  201. x11/wmfocus
  202. x11-wm/leftwm
  203. Collapse this list.

Deleted ports which required this port:

Expand this list of 13 deleted ports
  1. databases/puppetdb-cli*
  2. devel/cargo*
  3. devel/cargo-tree*
  4. devel/racerd*
  5. graphics/libdssim*
  6. lang/spidermonkey68*
  7. net/boringtun*
  8. net-p2p/parity-ethereum*
  9. security/bitwarden_rs*
  10. security/kr*
  11. security/suricata5*
  12. www/cliqz*
  13. www/waterfox*
  14. Collapse this list of deleted ports.
for Run
  1. devel/py-setuptools-rust
  2. devel/rust-cbindgen

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/cargo*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
  1. There is no master site for this port.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2014-07-10
    Affects: users of lang/rust
    Author: robak@FreeBSD.org
    Reason: 
      The lang/rust port was updated to 0.11 and is now only working on FreeBSD
      versions 10 and 11 -- the 9.x support has been removed by upstream.
    
    
Port Moves
  • port moved here from devel/cargo-tree on 2020-06-04
    REASON: Integrated into cargo

  • port moved here from devel/cargo on 2017-09-15
    REASON: Merged with lang/rust

Number of commits found: 270 (showing only 100 on this page)

1 | 2 | 3  »  

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
31 May 2022 13:06:17
 files touched by this commit commit hash:aa578f2b89663f8ceebf372218cdd744dda11609  1.61.0
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.61.0

Announce:		https://blog.rust-lang.org/2022/05/19/Rust-1.61.0.html
ChangeLog:		https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1610-2022-05-19
Reviewed by:		pkubaj
Differential Revision:	https://reviews.freebsd.org/D35335
03 May 2022 10:28:03
 files touched by this commit commit hash:cb6d9d1a623b5dc4ed815d69211d264819be036e  1.60.0
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust-nightly: Update to 1.62.0.20220502

https://github.com/rust-lang/rust/compare/f4a7ce997a1d7546d2b737f8b87d36907bcea2ad...bed05e996e37e44b1a3980b84754af621fd3c4ce
01 May 2022 16:39:19
 files touched by this commit commit hash:e57dfbf32324ca40f17bb6c4a10581e6a06ab00b  1.60.0
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.60.0

  - Switch to using "x.py dist" instead of "x.py build" in the do-build phase as
    we are missing the rustc-dev component on nightly
  - Revert part of [1] as it causes cross build problem with
lang/rust-bootstrap@powerpc
  - Mark devel/racer as deprecated: it's hard to maintain due to recurrent build
problem
    and it's not actively maintained. Upstream advises to use
devel/rust-analyzer instead.

[1]
https://github.com/rust-lang/rust/commit/07dae5a97b64100f5abd511f1e2d5a6263a54006

Announce:		https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html
ChangeLog:		https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1600-2022-04-07
Reviewed by:		tobik
Exp-run by:		antoine
Differential Revision:	https://reviews.freebsd.org/D34823
29 Mar 2022 06:14:13
 files touched by this commit commit hash:7686fc035435ab069cec46152a83282cdc117a9e  1.59.0
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/rust: switch back to base LLVM on powerpc

Base LLVM in 13.1 now can build Rust.
23 Mar 2022 16:55:55
 files touched by this commit commit hash:c6547a4ed92a9dbafd26a8ff3f758c3e60bc1959  1.59.0
Piotr Kubaj (pkubaj) search for other commits by this committer
lang/rust: fix build on powerpc on FreeBSD 13.1 and newer

1. When building with RUST_BACKTRACE=1, cargo segfaults:
pre-installed rustc not detected: [Errno 2] No such file or directory: 'rustc'
falling back to auto-detect
warning: sqlite3 not available in python, skipping build directory lock
please file an issue on rust-lang/rust
this is not a problem for non-concurrent x.py invocations
Building rustbuild
running: /wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo build
--manifest-path
/wrkdirs/usr/ports/lang/rust/work/rustc-1.59.0-src/src/bootstrap/Cargo.toml
--verbose --verbose --frozen
Traceback (most recent call last):
  File "x.py", line 27, in <module>
    bootstrap.main()
  File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.59.0-src/src/bootstrap/bootstrap.py",
line 1313, in main
    bootstrap(help_triggered)
(Only the first 15 lines of the commit message are shown above View all of this commit message)
15 Mar 2022 09:51:50
 files touched by this commit commit hash:53e44579be56ebf464fae76e0daa55b7ced06c26  1.59.0
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.59.0

Changes: https://blog.rust-lang.org/FIXME/Rust-1.59.0.html
PR:		262449
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D34471
03 Feb 2022 14:02:32
 files touched by this commit commit hash:9400f68f0dc7f44caefdf35f4f46203592328a4e  1.58.1
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust*: Remove superfluous 'Changes' from commit log template
03 Feb 2022 14:02:31
 files touched by this commit commit hash:bd3a9279310ec68c634964e6a819296aa470fadb  1.58.1
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.58.1

https://blog.rust-lang.org/2022/01/20/Rust-1.58.1.html

PR:		261449
Security:	ee26f513-826e-11ec-8be6-d4c9ef517024
17 Jan 2022 11:56:32
 files touched by this commit commit hash:183588879e6bae37e4fd11e4b3336c49d6e64e0f  1.58.0 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.58.0

Changes:	https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html
PR:		261150
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D33864
23 Dec 2021 10:10:16
 files touched by this commit commit hash:53364ad5d305bb598b2e1779accc52ca519f3171  1.57.0 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Use backtrace noop backend on riscv64 too

Something is wrong with the libunwind backend or libunwind itself
on FreeBSD 13.0 riscv64. Building the parse-zoneinfo 0.3.0 crate
crashes rustc:

 [New LWP 105346]
 [New LWP 101666]
 Core was generated by `/home/tobias/rust/bin/rustc --crate-name parse_zoneinfo
src/lib.rs --error-forma'.
 Program terminated with signal SIGBUS, Bus error.
 #0  0x00000000401a6126 in
libunwind::DwarfInstructions<libunwind::LocalAddressSpace,
libunwind::Registers_riscv>::getSavedRegister (addressSpace=..., registers=...,
cfa=<optimized out>, savedReg=...) at
/usr/src/contrib/llvm-project/libunwind/src/DwarfInstructions.hpp:87
 [Current thread is 1 (LWP 105346)]
 #0  0x00000000401a6126 in
libunwind::DwarfInstructions<libunwind::LocalAddressSpace,
libunwind::Registers_riscv>::getSavedRegister (addressSpace=..., registers=...,
cfa=<optimized out>, savedReg=...) at
/usr/src/contrib/llvm-project/libunwind/src/DwarfInstructions.hpp:87
 #1  0x00000000401a5f56 in
libunwind::DwarfInstructions<libunwind::LocalAddressSpace,
libunwind::Registers_riscv>::stepWithDwarf (addressSpace=..., pc=<optimized
out>, fdeStart=<optimized out>, registers=..., isSignalFrame=<optimized out>) at
/usr/src/contrib/llvm-project/libunwind/src/DwarfInstructions.hpp:185
 #2  0x00000000401a5b3e in libunwind::UnwindCursor<libunwind::LocalAddressSpace,
libunwind::Registers_riscv>::stepWithDwarfFDE (this=0x3fbffeeff8) at
/usr/src/contrib/llvm-project/libunwind/src/UnwindCursor.hpp:929
(Only the first 15 lines of the commit message are shown above View all of this commit message)
23 Dec 2021 10:10:16
 files touched by this commit commit hash:96eec29c9aa623f3aef843e238b50329ef386c45  1.57.0 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Add riscv64 (riscv64gc-unknown-freebsd) support

A kernel with COMPAT_FREEBSD11 is required for now like on all
other FreeBSD archs. FreeBSD11 never had riscv64 support, so
GENERIC does not have it and a kernel rebuild is required. The
same issue existed on powerpc64le.

The riscv64gc-unknown-freebsd target was upstreamed and will
be part of Rust 1.59.0 (2021-02-24).

Reviewed by:	jrtc27, pkubaj
Differential Revision:	https://reviews.freebsd.org/D32881
05 Dec 2021 12:35:41
 files touched by this commit commit hash:237b36fa2e73986dc19284686e80a47cb329bb6f  1.57.0 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.57.0

- Unbreak build with LibreSSL 3.4.x [0]
- Disable backtrace's libunwind backend on armv* since it or
  libunwind in base seem to be buggy and cause rustc to crash when
  building some consumers [1]
- Follow rust-nightly in d5f09dc31fcfdb77b69c86b9093bf67ec67653d9
  and reenable hardlinks in the build

Changes:	https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html
PR:		259738 [0]
PR:		259799 [1]
PR:		260140
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D33190
With hat:	rust
25 Nov 2021 20:01:04
 files touched by this commit commit hash:c4816e4763b8d395b4a2cb670a8aaaf33bb8def1  1.56.0 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust*: Move the build artifacts out of source

Move the build artifacts out of source to decrease likelihood
of ccache misses because of changed build directory prefix
(rustc-1.55.0-src/ vs. rustc-1.56.0-src/) per PR 246245.
24 Nov 2021 09:05:49
 files touched by this commit commit hash:864a4c252978a09ad5e230208b9abbeb4ae08de0  1.56.0 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: stable/13 has the kern.proc.pathname fixes too
31 Oct 2021 18:20:54
 files touched by this commit commit hash:d5f09dc31fcfdb77b69c86b9093bf67ec67653d9  1.56.0 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust-nightly: Update to 1.58.0.20211030

Make the no-hardlinks-patches conditional and move them to
files/no-hardlinks.

Newer kernels should return sane kern.proc.pathname values for
hardlinks which will hopefully help avoid the intermittent "can't
find crate for `std`" build failures we had on the package
builders.

Thanks to kib@ for fixing kernel behavior. Now let's see if it
makes a difference for lang/rust-nightly.

Changes:	https://github.com/rust-lang/rust/compare/25ec8273855fde2d72ae877b397e054de5300e10...e249ce6b2345587d6e11052779c86adbad626dff
PR:		248184
25 Oct 2021 08:46:49
 files touched by this commit commit hash:124261fa7deb972b647c686d2531bbba0a9a4223  1.56.0 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.56.0

- Drop codegen-units=1 again as it seems to negatively impact build
  time for some people [1]

Changes:	https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html
PR:		256099 [1]
PR:		259251
Reviewed by:	jbeich, mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D32553
08 Oct 2021 11:22:09
 files touched by this commit commit hash:1bcf990c4e5ea789603e03cb4b673ba57062762b  1.55.0 This port version is marked as vulnerable.
Bernhard Froehlich (decke) search for other commits by this committer
lang/rust: Add CPE information

Approved by:    portmgr (blanket)
06 Oct 2021 12:01:52
 files touched by this commit commit hash:15d61162f70282cc075f10e81cbd54eedbd3369a  1.55.0 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust-nightly: Update to 1.57.0.20211005

Changes:	https://github.com/rust-lang/rust/compare/f586d79d183d144e0cbf519e29247f36670e2076...25ec8273855fde2d72ae877b397e054de5300e10
01 Oct 2021 00:14:58
 files touched by this commit commit hash:852b05a49a0ee00e1e2544635e2c76aca7f4b95d  1.55.0 This port version is marked as vulnerable.
Jan Beich (jbeich) search for other commits by this committer
lang/rust: unbreak on armv6 after 620968a43a5f

error: linking with `/wrkdirs/usr/ports/lang/rust/work/cc-wrapper` failed: exit
status: 127

Pointy hat to:	jbeich
30 Sep 2021 21:23:30
 files touched by this commit commit hash:620968a43a5f9bb3fa98ab20f257a4c0d864caa7  1.55.0 This port version is marked as vulnerable.
Rene Ladan (rene) search for other commits by this committer
cleanup: drop support for EOL FreeBSD 11.X

Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
19 Sep 2021 09:03:21
 files touched by this commit commit hash:6f1fefb50e755d727f471aeb75ebe4e28f876b4b  1.55.0 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.55.0

- Set codegen-units=1 [1]
- Add hack to skip cargo update on git sources as a step towards solving [2]
- Fix 'capacity overflow' panics on armv* [3]

Changes:	https://blog.rust-lang.org/2021-09-09/Rust-1.55.0.html
PR:		258337
PR:		256099 [1]
PR:		256581 [2]
PR:		257419 [3]
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D31872
With hat:	rust
06 Sep 2021 20:04:22
 files touched by this commit commit hash:473a0e375ef3e4ffc058478ce07908e5e06e7bc6  1.54.0_2 This port version is marked as vulnerable.
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: don't overwrite hwcap with the return value of elf_aux_info(3)

Reported by:	jbeich
06 Sep 2021 19:28:28
 files touched by this commit commit hash:b1670e2c3d42a2aeacff843ef0ccea21c0929d03  1.54.0_1 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust*: Mk/Uses/cargo.mk: Move TMPDIR to WRKDIR

rustc stashes intermediary files in TMPDIR (default /tmp) which
might cause issues for users that for some reason space limit their
/tmp.  WRKDIR should have plenty of space.

Other ports that use rustc might be affected too, but set it only
in USES=cargo and lang/rust* ports for now.

PR:		258126
With hat:	rust
06 Sep 2021 13:53:04
 files touched by this commit commit hash:74c66d50fd5f3f12469881d4f9c5634f8722ccc5  1.54.0_1 This port version is marked as vulnerable.
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Fix for missing getauxval function on FreeBSD

Use FreeBSD's elf_aux_info for detecting ARM HW features

PR:		258198
Tested by:	Bob Prohaska <fbsd@www.zefox.net>
02 Sep 2021 11:30:39
 files touched by this commit commit hash:bab764bbd2a0ee98da9763ba57bd1f4f144fab1d  1.54.0 This port version is marked as vulnerable.
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Add missing patches for powerpc

Differential Revision:	https://reviews.freebsd.org/D31723
28 Aug 2021 13:38:37
 files touched by this commit commit hash:55dbddeb07345c55bdc6d4d09c3bf6f3409ab0f5  1.54.0 This port version is marked as vulnerable.
Mikael Urankar (mikael) search for other commits by this committer
Author: pouet
lang/rust: Update to 1.54.0

 - Update lang/rust to 1.54.0
 - Update devel/racer to 2.1.48
 - Fix various consumers

Changes:	https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html
Reviewed by:	tobik, pkubaj
Differential Revision:        https://reviews.freebsd.org/D31617
With hat:	rust
27 Jun 2021 05:39:50
 files touched by this commit commit hash:f897ded31edcafadb3e4dd662fa022cabae86623  1.53.0 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.53.0

Changes:	https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html
PR:		256653
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D30790
With hat:	rust
14 Jun 2021 20:51:11
 files touched by this commit commit hash:294f0c5c206d70e24b6bbc28766d962dc82f8b61  1.52.1 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust-nightly: Try to reduce memory usage/pressure

Try to reduce memory usage/pressure by only using one code generation
unit.

"This flag [codegen-units] controls how many code generation units
the crate is split into.  It takes an integer greater than 0.

When a crate is split into multiple codegen units, LLVM is able to
process them in parallel.  Increasing parallelism may speed up
compile times, but may also produce slower code.  Setting this to
1 may improve the performance of generated code, but may be slower
to compile."

https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units

PR:		256099
Suggested by:	Daniel Engberg
10 Jun 2021 16:35:22
 files touched by this commit commit hash:eea42d68b72531732a41e9f2fec0d76cff8b93a3  1.52.1 This port version is marked as vulnerable.
Brad Davis (brd) search for other commits by this committer
lang/rust: Disable DOCS to fix build on armv6/7

PR:		256135
Approved by:	mikael
14 May 2021 16:44:58
 files touched by this commit commit hash:882badb35a3fd0c91134cc074a9654d31fc323e8  1.52.1 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust*: Only subst %CC% and %WRKDIR% on ppc64-elfv1

It's unused elsewhere.  Also move it to post-patch.
11 May 2021 17:29:32
 files touched by this commit commit hash:d50822c34fe1d8adf879745d2b26c000af2e8862  1.52.1 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust, lang/rust-bootstrap: Simplify makesum
11 May 2021 17:29:27
 files touched by this commit commit hash:d8837418ea743776bc43b9c91d83080d8eff5029  1.52.1 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.52.1

- Add 32-bit powerpc support from bdragon@
- Unbreak build with LibreSSL 3.3.x [1]
- Add an update script

Changes:	https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html
Changes:	https://blog.rust-lang.org/2021/05/10/Rust-1.52.1.html
PR:		255608, 255652 [1]
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D30099
06 May 2021 05:54:33
 files touched by this commit commit hash:a7da23da6e6b420c9041018426051b269cef0669  1.51.0 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Add TRYBROKEN to makesum
20 Apr 2021 06:57:34
 files touched by this commit commit hash:a91d65363fe8aa72bdf427bb639b0fe258ee7c01  1.51.0 This port version is marked as vulnerable.
Tobias Kortkamp (tobik) search for other commits by this committer
Mk/Uses/ninja.mk: Add support for devel/samurai (D29353)

Samurai is a Ninja-compatible build tool with fewer dependencies
than Ninja.  Hook it to the framework via a new NINJA_DEFAULT.

This also adds %p to NINJA_STATUS to make Ninja or Samurai print
the percentage of completed jobs to make it easier to eyeball how
much of the build is done.

PR:		254678
Exp-run	by:	antoine
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  1.51.0 This port version is marked as vulnerable.
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
29 Mar 2021 20:31:35
Original commit files touched by this commit Revision:569508  1.51.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.53.0.20210329

Enable the SOURCES option again.  They seem to install fine again.

Changes:	https://github.com/rust-lang/rust/compare/5d04957a4b...4a20eb6a9d
29 Mar 2021 18:07:32
Original commit files touched by this commit Revision:569489  1.51.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.51.0

- Update devel/racer to 2.1.44

Changes:	https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html
PR:		254578
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D29425
23 Mar 2021 06:39:48
Original commit files touched by this commit Revision:569007  1.50.0_1 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Fix DOCS build, unbreak RUST_BACKTRACE

- Fix DOCS build by disabling deny-warnings (rustc equivalent to
  -Werror).  Let's not fail the entire build just because a handful
  of docs fail to build due to -D broken-intra-doc-links [0]
- Only install the host target docs.  We otherwise waste time with
  a rust-docs install-uninstall-install cycle for each additional
  target during stage.
- Backport FreeBSD support for gimli, unbreak RUST_BACKTRACE, and
  have useful stack traces with actual content again [1]
- While here also strip binaries under libexec/ and ack reading of
  src/bootstrap/CHANGELOG.md (changelog-seen=2)

[0] https://github.com/rust-lang/rust/issues/76526

PR:		253557 [1]
Submitted by:	jbeich [1]
14 Feb 2021 15:45:11
Original commit files touched by this commit Revision:565245  1.50.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust: Update to 1.50.0

  - Use bundled libgit/libssh, the versions in ports are too old
  - Update lang/rust-nightly to 2021-02-12
  - Update devel/racer to 2.1.41
  - Import upstream patch to fix build issue for Firefox and related ports
(https://bugzilla.mozilla.org/show_bug.cgi?id=1684261)

Changes: https://github.com/rust-lang/rust/releases/tag/1.50.0

Tested by:	mikael, pkubaj
Differential Revision:	https://reviews.freebsd.org/D28616
04 Feb 2021 17:21:28
Original commit files touched by this commit Revision:564052  1.49.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust: remove disable-ldconfig it's not an option for quite some time
30 Jan 2021 17:21:48
Original commit files touched by this commit Revision:563425  1.49.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust: reroll the armv7 bootstrap

The current one fails to build Rust.

PR:		251254
Reported by:	mmel
29 Jan 2021 10:52:10
Original commit files touched by this commit Revision:563192  1.49.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust: revert part of r563191

It contains unrelated changes
29 Jan 2021 10:49:01
Original commit files touched by this commit Revision:563191  1.49.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust: reroll the aarch64 bootstrap.

This new bootstrap is based on rust 1.49.0 built with a 12.1 sysroot.

PR:		251254
Reported by:	dch, mmel
Tested by:	dch, mikael
07 Jan 2021 21:17:22
Original commit files touched by this commit Revision:560736  1.49.0 This port version is marked as vulnerable.
pkubaj search for other commits by this committer
lang/rust: fix build on powerpc64le
06 Jan 2021 10:13:59
Original commit files touched by this commit Revision:560492  1.49.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust: Update to 1.49.0

Changes: https://github.com/rust-lang/rust/releases/tag/1.49.0

Tested by:	mikael, pkubaj
Differential Revision:	https://reviews.freebsd.org/D27940
12 Dec 2020 18:51:34
Original commit files touched by this commit Revision:557858  1.48.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust: Fix build with libressl 3.2.3

PR:		251766
Submitted by:	John Kennedy
24 Nov 2020 20:22:41
Original commit files touched by this commit Revision:556183  1.48.0 This port version is marked as vulnerable.
pkubaj search for other commits by this committer
lang/rust: fix build on powerpc64le
24 Nov 2020 12:48:54
Original commit files touched by this commit Revision:556157  1.48.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust: Update to 1.48.0

Changes: https://github.com/rust-lang/rust/releases/tag/1.48.0

Reviewed by:	jbeich
Tested by:	bdragon, jbeich, mikael
Differential Revision:	https://reviews.freebsd.org/D27293
22 Nov 2020 13:51:15
Original commit files touched by this commit Revision:556053  1.47.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust: exclude SOURCES in nightly build

Exclude SOURCES in nightly build as it tries to download cargo crates in
install phase and it causes build breakage
28 Oct 2020 13:41:33
Original commit files touched by this commit Revision:553543  1.47.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust: fix build with libressl-3.2.2

PR:		250589
Submitted by:	John Kennedy <warlock@phouka.net>
14 Oct 2020 16:58:48
Original commit files touched by this commit Revision:552346  1.47.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust: restore REINPLACE_CMD for ppc64-elfv1

This patch is needed for ppc64-elfv1 and we don't build rust-nightly on tier2
arch

Reported by:	ashish
14 Oct 2020 09:25:31
Original commit files touched by this commit Revision:552319  1.47.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust-nightly: Update to 1.49.0.20201014
13 Oct 2020 08:36:35
Original commit files touched by this commit Revision:552221  1.47.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust: Update to 1.47.0

  - Add powerpc64le arch (submitted by bdragon in D26711)
  - Disable DOCS, same problem fixed in r546048

  - Update devel/racer to 2.1.36
  - Import upstream patch to fix www/firefox
    (https://hg.mozilla.org/integration/autoland/rev/e2cede25c027)
  - Import gentoo patches to fix www/firefox-esr, www/cliqz and mail/thunderbird
   
(https://dev.gentoo.org/~whissi/mozilla/patchsets/firefox-esr-78-patches-03.tar.xz
: 0036, 0037 and 0038)
  - Force rebuild all consumers to catch regressions

Changelog:
  https://github.com/rust-lang/rust/releases/tag/1.47.0

Differential Revision:	https://reviews.freebsd.org/D26721
30 Aug 2020 18:36:08
Original commit files touched by this commit Revision:547071  1.46.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.46.0

- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D26176
05 Aug 2020 14:46:18
Original commit files touched by this commit Revision:544224  1.45.2 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust*: Bring back the llvm-config-wrapper patches after r543251

Apparently they are still needed:
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p543836_s363720/logs/errors/rust-1.45.1.log
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p543836_s363720/logs/errors/rust-nightly-1.47.0.20200724.log
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p544005_s363784/logs/errors/rust-1.45.1.log

Reported by:	antoine
03 Aug 2020 15:18:49
Original commit files touched by this commit Revision:544073  1.45.2 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.45.2

Changes:	https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html
30 Jul 2020 18:26:54
Original commit files touched by this commit Revision:543815  1.45.1 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.45.1

- Apply the "hard links break `env::current_exe()`" workaround from
  r543251 to lang/rust too
- Force rebuild all consumers for the soundness bug in 1.45.0

Changes:	https://blog.rust-lang.org/2020/07/30/Rust-1.45.1.html
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25835
17 Jul 2020 06:48:00
Original commit files touched by this commit Revision:542413  1.45.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Add back to static.rust-lang.org
17 Jul 2020 06:44:04
Original commit files touched by this commit Revision:542412  1.45.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.45.0

- This Rust release comes with LLVM 10.  Drop the LLVM patches we
  no longer need.
- On FreeBSD 13.0 powerpc64 set the elfv2 ABI explicitly in the
  Rust target instead of patching LLVM.
- Build LLVM with Ninja.  It can shorten the build time slightly.
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html
Tested by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25658
18 Jun 2020 20:36:09
Original commit files touched by this commit Revision:539571  1.44.1_1 This port version is marked as vulnerable.
pkubaj search for other commits by this committer
lang/rust: build with Clang on powerpc64 elfv2

It looks like the LLVM bug that made Rust fail to build is gone (or Rust just
doesn't trigger it anymore). I tested that Rust itself and Firefox build.

Bump PORTREVISION because of dependency change.

PR:		247388
Approved by:	tobik (maintainer)
18 Jun 2020 14:13:39
Original commit files touched by this commit Revision:539541  1.44.1 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.44.1

- Properly fix powerpc64 builds [1]

Changes:	https://blog.rust-lang.org/2020/06/18/Rust.1.44.1.html
PR:		247307 [1]
Submitted by:	pkubaj [1]
Reviewed by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25297
15 Jun 2020 22:26:47
Original commit files touched by this commit Revision:539297  1.44.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.46.0.20200615

- Try building LLVM with Ninja
- Move post-configure to lang/rust

Changes:	https://github.com/rust-lang/rust/compare/826cb062a6...4fb54ed484
07 Jun 2020 23:37:30
Original commit files touched by this commit Revision:538194  1.44.0 This port version is marked as vulnerable.
pkubaj search for other commits by this committer
lang/rust: fix build on powerpc64
04 Jun 2020 18:08:01
Original commit files touched by this commit Revision:537917  1.44.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.44.0

- Remove devel/cargo-tree since it is now integrated into cargo
- Add patch to fix build with LibreSSL 3.1.x and 3.2.0 [1]
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/06/04/Rust-1.44.0.html
PR:		246332 [1]
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25099
18 May 2020 18:40:41
Original commit files touched by this commit Revision:535771  1.43.1 This port version is marked as vulnerable.
asomers search for other commits by this committer
lang/rust-nightly: enable the Rust profiler

Enable the rust profiler on rust-nightly (as an unstable feature, it's not
allowed on the stable toolchain). This allows it to generate code coverage
reports.

https://doc.rust-lang.org/unstable-book/compiler-flags/profile.html
https://crates.io/crates/grcov

Reviewed by:	tobik
Approved by:	tobik (maintainer)
Differential Revision:	https://reviews.freebsd.org/D24765
07 May 2020 15:58:38
Original commit files touched by this commit Revision:534269  1.43.1 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.43.1

- Remove upstreamed patches
- On ppc64 revert e82ec2315e5adb1c291c3702cd2ac1f46ecd0fcf to fix segfaults

Changes:	https://blog.rust-lang.org/2020/05/07/Rust.1.43.1.html
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D24734
28 Apr 2020 04:33:36
Original commit files touched by this commit Revision:533234  1.43.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Let the framework extract the bootstraps

It is possible for lang/python37 to be built in such a way that it
installs an unloadable lzma module which then causes Rust to fallback
to trying to fetch/extract the tar.gz bootstraps instead.

As a workaround and since it also simplifies some things, let the
ports framework extract the bootstraps and "install" them under
WRKDIR.  We point the build to them in config.toml.  This is similar
to how things are hooked up in lang/rust-bootstrap and Rust will
then not try to fetch and extract the bootstraps on its own.

PR:		243766
Reviewed by:	mikael
Differential Revision:	https://reviews.freebsd.org/D24582
23 Apr 2020 15:34:59
Original commit files touched by this commit Revision:532686  1.43.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Go back to static.rust-lang.org
23 Apr 2020 15:32:30
Original commit files touched by this commit Revision:532685  1.43.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.43.0

- Add workaround to fix build when CC/CXX have "clang" in them [1]
- Respect AR to fix build with external toolchains [2]
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html
PR:		238556 [1], 245583 [2]
Reported by:	Matthias Apitz <guru@unixarea.de> [1], Greg V
<greg@unrelenting.technology> [2]
Tested by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D24521
19 Apr 2020 03:55:23
Original commit files touched by this commit Revision:532068  1.42.0_2 This port version is marked as vulnerable.
tobik search for other commits by this committer
devel/libgit2: Update to 1.0.0

Changes:	https://github.com/libgit2/libgit2/releases/tag/v1.0.0
ABI:		https://abi-laboratory.pro/tracker/timeline/libgit2
Approved by:	mfechner (maintainer)
Differential Revision:	https://reviews.freebsd.org/D24471
19 Mar 2020 07:05:29
Original commit files touched by this commit Revision:528690  1.42.0_1 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.44.0.20200319

Go back to system libgit2 now that it was updated to 0.99.0.

Changes:	https://github.com/rust-lang/rust/compare/96bb8b31c8...f509b26a77
19 Mar 2020 05:47:59
Original commit files touched by this commit Revision:528684  1.42.0_1 This port version is marked as vulnerable.
tobik search for other commits by this committer
devel/libgit2: Update to 0.99.0

- Switch to the release tarballs libgit2 now publishes
- Drop CURL option since it is no longer used
- Use system libpcre instead of the bundled one
- Hook up tests
- Bump consumers for ABI changes

Changes:	https://github.com/libgit2/libgit2/releases/tag/v0.99.0
ABI:		https://abi-laboratory.pro/tracker/timeline/libgit2/
17 Mar 2020 22:32:21
Original commit files touched by this commit Revision:528606  1.42.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust-bootstrap: Unbreak powerpc64_elfv2 flavor after r528599

error: could not find native static library `stdc++`, perhaps an -L flag is
missing?

error: aborting due to previous error

error: could not compile `rustc_llvm`.

PR:		244813
17 Mar 2020 19:25:20
Original commit files touched by this commit Revision:528599  1.42.0 This port version is marked as vulnerable.
pkubaj search for other commits by this committer
lang/rust: fix build on powerpc64 elfv2

After upgrade to LLVM 10, core in stage 1 fails to compile (no clear reason,
rustc crashes):
pid 26828 (rustc), jid 0, uid 0: exited on signal 11 (core dumped)

Compilation with GCC works fine, so switch to GCC for the time being.

PR:		244813
Approved by:	mikael
12 Mar 2020 19:39:25
Original commit files touched by this commit Revision:528318  1.42.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.42.0

- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/03/12/Rust-1.42.html
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D24020
06 Mar 2020 12:43:06
Original commit files touched by this commit Revision:527877  1.41.1 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.43.0.20200306

libgit2-sys is now based on libgit2 0.99.0.  While 0.99.0 is supposed
to be API compatible with 0.28, it has not yet been updated in the
ports tree and the git2 crate now make use of some of the new
function return values.  Stop relying on system libgit2 and use the
bundled one.  Upstream does not make any guarantees about system
libgit2 support in the first place.

Changes:	https://github.com/rust-lang/rust/compare/6d69caba11...96bb8b31c8
01 Mar 2020 11:09:45
Original commit files touched by this commit Revision:527545  1.41.1 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Attempt to address unreliable rust-lld build

It sometimes fails [0,1] and sometimes succeeds [2,3].  When it
fails it fails with

running: "cmake"
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.41.1-src/src/llvm-project/lld"
"-DCMAKE_INSTALL_MESSAGE=LAZY" "-DCMAKE_C_COMPILER=cc"
"-DCMAKE_CXX_COMPILER=c++" "-DCMAKE_C_FLAGS=-ffunction-sections -fdata-sections
-fPIC -m64 -pipe -fstack-protector-strong -fno-strict-aliasing"
"-DCMAKE_CXX_FLAGS=-ffunction-sections -fdata-sections -fPIC -m64 -pipe
-fstack-protector-strong -fno-strict-aliasing"
"-DLLVM_CONFIG_PATH=/wrkdirs/usr/ports/lang/rust/work/rustc-1.41.1-src/build/bootstrap/debug/deps/llvm-config-wrapper"
"-DLLVM_INCLUDE_TESTS=OFF"
"-DCMAKE_INSTALL_PREFIX=/wrkdirs/usr/ports/lang/rust/work/rustc-1.41.1-src/build/x86_64-unknown-freebsd/lld"
"-DCMAKE_BUILD_TYPE=Release"
-- The C compiler identification is Clang 9.0.1
-- The CXX compiler identification is Clang 9.0.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Feb 2020 15:22:29
Original commit files touched by this commit Revision:527260  1.41.1 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.41.1

- Force rebuild all consumers to fix potential miscompilations with
  1.41.0
- Enable SOURCES by default.  The sources are indexed by RLS and
  required for it to function properly, so they should be available
  by default.  This also makes sure we test the option properly.
- Remove implied --config=config.toml from x.py args
- Switch to the upstreamed backtrace crate patches like rust-nightly
- Enable WASM by default [0]
- Strip libraries (D23650) [1]
- Simplify plist generation (D23735) [2]

Changes:	https://blog.rust-lang.org/2020/02/27/Rust-1.41.1.html
Submitted by:	mikael [0,1,2]
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D23835
16 Feb 2020 15:22:07
Original commit files touched by this commit Revision:526265  1.41.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
lang/rust: add the WASM option

Add the WASM (WebAssembly) option to build the wasm32-unknown-unknown target,
off by default.

Reviewed by:	tobik
Approved by:	tobik, manu (mentor)
Differential Revision:	https://reviews.freebsd.org/D23653
12 Feb 2020 16:59:46
Original commit files touched by this commit Revision:525920  1.41.0 This port version is marked as vulnerable.
mikael search for other commits by this committer
Trim whitespace

Reviewed by:	tobik, manu
Approved by:	manu (mentor)
Differential Revision:	https://reviews.freebsd.org/D23649
06 Feb 2020 20:51:20
Original commit files touched by this commit Revision:525449  1.41.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Silence stage-qa warnings when building with SOURCES=on

PR:		243850
05 Feb 2020 04:29:56
Original commit files touched by this commit Revision:525257  1.41.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.43.0.20200205

Remove some cruft while here.

Changes:	https://github.com/rust-lang/rust/compare/41f41b2354...c9290dceee
30 Jan 2020 20:00:07
Original commit files touched by this commit Revision:524658  1.41.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.41.0

- Force rebuild all consumers to catch regressions early
- Switch to cross-compiled (from amd64) bootstraps for all
  architectures generated with the incoming lang/rust-bootstrap
- Update cargo-c to 0.5.2 to unbreak librav1e build
- Make use of regular MAKE_ENV/TEST_ENV in lang/rust
- Turn on RUST_BACKTRACE in lang/rust and USES=cargo to hopefully
  produce more useful failure logs when something panics during
  builds

Changes:	https://blog.rust-lang.org/2020/01/30/Rust-1.41.0.html
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D23385
27 Jan 2020 06:21:26
Original commit files touched by this commit Revision:524242  1.40.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
Unbreak lang/rust-nightly after r524013
25 Jan 2020 05:41:19
Original commit files touched by this commit Revision:524013  1.40.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Apply some of the patches for lang/rust-bootstrap (D23133)

They should not affect the regular lang/rust build.
24 Jan 2020 20:53:32
Original commit files touched by this commit Revision:523985  1.40.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.42.0.20200124

Nightly bootstraps now have the fix from r523512.  Switch to them
for the time being and drop the workaround.
19 Jan 2020 06:53:15
Original commit files touched by this commit Revision:523512  1.40.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust-nightly: Unbreak with lld on 13.0 i386

 = note: ld: error: relocation R_386_PC32 cannot be used against symbol
__rust_probestack; recompile with -fPIC
          >>> defined in
/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage1/lib/rustlib/i686-unknown-freebsd/lib/libcompiler_builtins-6570a75fe85f0e1a.rlib(compiler_builtins-6570a75fe85f0e1a.compiler_builtins.2i519eqi-cgu.15.rcgu.o)
          >>> referenced by std.4xivr03c-cgu.14
          >>>              
std-9bd70afd58e204b7.std.4xivr03c-cgu.14.rcgu.o:(_$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h1c78ed6e734a2bfc
(.llvm.10122419023709863394)) in archive
/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage1/lib/rustlib/i686-unknown-freebsd/lib/libstd-9bd70afd58e204b7.rlib

          ld: error: relocation R_386_PC32 cannot be used against symbol
__rust_probestack; recompile with -fPIC
          >>> defined in
/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage1/lib/rustlib/i686-unknown-freebsd/lib/libcompiler_builtins-6570a75fe85f0e1a.rlib(compiler_builtins-6570a75fe85f0e1a.compiler_builtins.2i519eqi-cgu.15.rcgu.o)
          >>> referenced by std.4xivr03c-cgu.14
          >>>              
std-9bd70afd58e204b7.std.4xivr03c-cgu.14.rcgu.o:(std::io::util::copy::h9115f048f2203467)
in archive
/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage1/lib/rustlib/i686-unknown-freebsd/lib/libstd-9bd70afd58e204b7.rlib
          clang-cpp: error: linker command failed with exit code 1 (use -v to
see invocation)

error: aborting due to previous error

http://beefy17.nyi.freebsd.org/data/head-i386-default/p523508_s356869/logs/rust-nightly-1.42.0.20200118.log
18 Jan 2020 09:56:06
Original commit files touched by this commit Revision:523409  1.40.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Simplify makesum and MASTER_SITES
18 Jan 2020 09:49:47
Original commit files touched by this commit Revision:523408  1.40.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.42.0.20200118
13 Jan 2020 18:36:04
Original commit files touched by this commit Revision:522968  1.40.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Add COMPAT_FREEBSD11 canary

This attempts to provide a nicer error message for the subset of
users who build their own kernels without COMPAT_FREEBSD11 and then
attempt to build lang/rust.  The Rust ecosystem currently uses
pre-ino64 syscalls, so building lang/rust without COMPAT_FREEBSD11
is not going to work.

The error message for this is non-obvious and there is a new bug
for this at least every 1-2 months.  Hopefully this will improve
the situation a little.

Cargo and Gecko ports are similarly affected, so add the pre-build
check to them too.

Reviewed by:	jbeich, mikael.urankar@gmail.com
Tested by:	madpilot (negative case)
Approved by:	gecko (jbeich)
Differential Revision:	https://reviews.freebsd.org/D23100
11 Jan 2020 08:35:06
Original commit files touched by this commit Revision:522639  1.40.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: increase build verbosity and produce better build logs
11 Jan 2020 08:24:17
Original commit files touched by this commit Revision:522638  1.40.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: fix powerpc64 elfv2 bootstrap

Apparently there were some issues with the previous one.

PR:		243253
Submitted by:	mikael.urankar@gmail.com
Reported by:	jhibbits, pkubaj
Tested by:	pkubaj
07 Jan 2020 07:01:46
Original commit files touched by this commit Revision:522316  1.40.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Simplify do-configure and garbage collect files/config.toml
19 Dec 2019 16:14:49
Original commit files touched by this commit Revision:520446  1.40.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.40.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/12/19/Rust-1.40.0.html
Tested by:	mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D22843
01 Dec 2019 18:36:53
Original commit files touched by this commit Revision:518792  1.39.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Respect ONLY_FOR_ARCHS in makesum

lang/rust-nightly does not have powerpc64 in it and unconditionally
running makesum for the powerpc64 ELFv2 bootstraps breaks there.

PR:		242342
Reported by:	jbeich
30 Nov 2019 02:02:30
Original commit files touched by this commit Revision:518690  1.39.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Remove PPC_ABI kludge after r518658
29 Nov 2019 22:12:36
Original commit files touched by this commit Revision:518678  1.39.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust, Mk/Uses/cargo.mk: Drop gmake build dependency for backtrace-sys

The backtrace-sys crate no longer needs gmake since 0.1.20.
sysutils/flowgger still uses backtrace-sys-0.1.14.  Since it is the
only USES=cargo port left that needs it, move the gmake dependency
directly to it instead.

lang/rust currently has backtrace-sys-0.1.30.  It also vendors
jemalloc-sys (which also needs gmake to build) but it is hidden
behind rustc's jemalloc feature which we do not currently activate.
It should be safe to remove gmake in lang/rust too.

PR:		242267
Reported by:	mikael.urankar@gmail.com
19 Nov 2019 09:28:13
Original commit files touched by this commit Revision:517954  1.39.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Add missing bits for powerpc64 ELFv2 support via PPC_ABI

Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D20792
17 Nov 2019 08:30:39
Original commit files touched by this commit Revision:517808  1.39.0 This port version is marked as vulnerable.
jbeich search for other commits by this committer
lang/rust{,-nightly}: switch to .tar.xz bootstraps

Decreases total size by ~325 MiB in lang/rust.

Approved by:	tobik (rust)
Differential Revision:	https://reviews.freebsd.org/D22422
07 Nov 2019 18:07:20
Original commit files touched by this commit Revision:516995  1.39.0 This port version is marked as vulnerable.
tobik search for other commits by this committer
lang/rust: Update to 1.39.0

- Force rebuild all consumers to catch regressions early
- Partially apply D20792 in preparation for PPC_ABI support
- Add LibreSSL 3.0.x support [1]

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/11/07/Rust-1.39.0.html
PR:		241411 [1]
Tested by:	mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D22240

Number of commits found: 270 (showing only 100 on this page)

1 | 2 | 3  »