Commit graph

257 commits

Author SHA1 Message Date
Tobias Kortkamp
9675ea8777
lang/rust-nightly: Update to 1.59.0.20211221
Changes:	0fb1c371d4...e100ec5bc7
2021-12-23 11:10:15 +01:00
Tobias Kortkamp
45189a04a2
lang/rust-nightly: Update to 1.59.0.20211207
Changes:	686e313a9a...0b6f079e49
2021-12-08 12:40:39 +01:00
Tobias Kortkamp
d91b2eb94e
lang/rust-nightly: Update to 1.59.0.20211128
Changes:	936f2600b6...db9d361a47
2021-11-29 17:19:10 +01:00
Tobias Kortkamp
f6058fee5d
lang/rust-nightly: Update to 1.58.0.20211123
Changes:	e99963c554...65c55bf931
2021-11-24 10:05:42 +01:00
Tobias Kortkamp
d5f09dc31f
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:	25ec827385...e249ce6b23
PR:		248184
2021-10-31 19:20:54 +01:00
Tobias Kortkamp
d6b6cae866
lang/rust-nightly: Update to 1.57.0.20211006
- Add missing cargo patch

Changes:	003d8d3f56...25ec827385
2021-10-07 16:42:56 +02:00
Tobias Kortkamp
15d61162f7
lang/rust-nightly: Update to 1.57.0.20211005
Changes:	f586d79d18...25ec827385
2021-10-06 14:01:52 +02:00
Tobias Kortkamp
f2ae3eb417
lang/rust-nightly: Update to 1.55.0.20210614
Changes:	6c2dd251bb...f586d79d18
2021-06-14 22:51:09 +02:00
Tobias Kortkamp
3e7e69c31e
lang/rust-nightly: Update to 1.54.0.20210606
Changes:	c79419af07...6c2dd251bb
2021-06-06 10:09:03 +02:00
Tobias Kortkamp
cf74b0f02d
lang/rust-nightly: Update to 1.54.0.20210605
Changes:	fe72845f7b...c79419af07
2021-06-06 10:09:01 +02:00
Tobias Kortkamp
35997799ab
lang/rust-nightly: Update to 1.54.0.20210517
Changes:	79e50bf779...fe72845f7b
2021-05-17 18:56:24 +02:00
Tobias Kortkamp
a2db71653f
lang/rust-nightly: Update to 1.54.0.20210511
Changes:	6b5de7aaec...79e50bf779
2021-05-11 19:29:23 +02:00
Tobias Kortkamp
d53a8f46eb
lang/rust-nightly: Update to 1.54.0.20210503
Changes:	9684258936...6b5de7aaec
2021-05-03 19:47:46 +02:00
Tobias Kortkamp
6c3cd79aa7
lang/rust-nightly: Update to 1.53.0.20210427
Changes:	5a4ab26459...9684258936
2021-04-27 11:10:19 +02:00
Tobias Kortkamp
28180ffb13
lang/rust-nightly: Update to 1.53.0.20210419
Changes:	a866124564...5a4ab26459
2021-04-19 10:00:11 +02:00
Tobias Kortkamp
da1e0b83dc
lang/rust-nightly: Update to 1.53.0.20210412
Changes:	4a20eb6a9d...a866124564
2021-04-12 19:33:09 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Tobias Kortkamp
65e66f1195 lang/rust-nightly: Update to 1.53.0.20210329
Enable the SOURCES option again.  They seem to install fine again.

Changes:	5d04957a4b...4a20eb6a9d
2021-03-29 20:31:34 +00:00
Tobias Kortkamp
ea774b2080 lang/rust-nightly: Update to 1.53.0.20210323
- Sync patches with lang/rust
- Add the rust-nightly update script

Changes:	45b3c28518...5d04957a4b
2021-03-23 08:43:48 +00:00
Mikael Urankar
db3481fcc9 lang/rust-nightly: Update to 2021-03-05 2021-03-05 13:00:18 +00:00
Mikael Urankar
6bebfaa8a0 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
2021-02-14 15:45:10 +00:00
Mikael Urankar
00596638f7 lang/rust-nightly: Update to 2020-11-21 2020-11-22 13:51:59 +00:00
Mikael Urankar
f9babeccb2 lang/rust-nightly: update bootstrap
should have been part of 555103
2020-11-15 13:37:59 +00:00
Mikael Urankar
020b10bb79 lang/rust-nightly: Update to 1.49.0.20201114 2020-11-14 09:38:56 +00:00
Mikael Urankar
3cf8e92eef lang/rust-nightly: Update to 1.49.0.20201014 2020-10-14 09:25:31 +00:00
Tobias Kortkamp
a3daa0902a lang/rust-nightly: Update to 1.48.0.20200907
Changes:	130359cb05...73dc675b94
2020-09-07 22:17:57 +00:00
Tobias Kortkamp
56a0fd2ac4 lang/rust-nightly: Update to 1.48.0.20200902
Changes:	5180f3da5f...130359cb05
2020-09-02 21:22:00 +00:00
Tobias Kortkamp
c215c2e28c lang/rust-nightly: Update to 1.47.0.20200824
Changes:	792c645ca7...5180f3da5f
2020-08-24 06:43:14 +00:00
Tobias Kortkamp
d246c066dc lang/rust-nightly: Disable DOCS
It is currently broken:

error: unresolved link to `crate::os::unix::ffi::OsStrExt`
   --> library/std/src/ffi/mod.rs:134:22
    |
134 | //! [unix.OsStrExt]: crate::os::unix::ffi::OsStrExt
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
    |
    = note: `-D broken-intra-doc-links` implied by `-D warnings`
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `crate::os::unix::ffi::OsStrExt::from_bytes`
   --> library/std/src/ffi/mod.rs:135:21
    |
135 | //! [`from_bytes`]: crate::os::unix::ffi::OsStrExt::from_bytes
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
    |
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `crate::os::unix::ffi::OsStrExt::as_bytes`
   --> library/std/src/ffi/mod.rs:136:19
    |
136 | //! [`as_bytes`]: crate::os::unix::ffi::OsStrExt::as_bytes
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
    |
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `crate::os::unix::ffi::OsStringExt`
   --> library/std/src/ffi/mod.rs:131:25
    |
131 | //! [unix.OsStringExt]: crate::os::unix::ffi::OsStringExt
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
    |
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `crate::os::unix::ffi::OsStringExt::from_vec`
   --> library/std/src/ffi/mod.rs:132:19
    |
132 | //! [`from_vec`]: crate::os::unix::ffi::OsStringExt::from_vec
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
    |
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `crate::os::unix::ffi::OsStringExt::into_vec`
   --> library/std/src/ffi/mod.rs:133:19
    |
133 | //! [`into_vec`]: crate::os::unix::ffi::OsStringExt::into_vec
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
    |
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `crate::os::windows::ffi::OsStrExt`
   --> library/std/src/ffi/mod.rs:138:25
    |
138 | //! [windows.OsStrExt]: crate::os::windows::ffi::OsStrExt
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
    |
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `crate::os::windows::ffi::OsStrExt::encode_wide`
   --> library/std/src/ffi/mod.rs:139:22
    |
139 | //! [`encode_wide`]: crate::os::windows::ffi::OsStrExt::encode_wide
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
    |
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `crate::os::windows::ffi::OsStringExt`
   --> library/std/src/ffi/mod.rs:141:28
    |
141 | //! [windows.OsStringExt]: crate::os::windows::ffi::OsStringExt
    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
    |
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `crate::os::windows::ffi::OsStringExt::from_wide`
   --> library/std/src/ffi/mod.rs:142:20
    |
142 | //! [`from_wide`]: crate::os::windows::ffi::OsStringExt::from_wide
    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
    |
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `crate::os::unix::fs::PermissionsExt`
   --> library/std/src/fs.rs:176:25
    |
176 | /// [`PermissionsExt`]: crate::os::unix::fs::PermissionsExt
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
    |
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `crate::os::unix::fs::symlink`
    --> library/std/src/fs.rs:1741:37
     |
1741 | /// [`std::os::unix::fs::symlink`]: crate::os::unix::fs::symlink
     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
     |
     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `crate::os::windows::fs::symlink_file`
    --> library/std/src/fs.rs:1742:45
     |
1742 | /// [`std::os::windows::fs::symlink_file`]: crate::os::windows::fs::symlink_file
     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
     |
     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: unresolved link to `crate::os::windows::fs::symlink_dir`
    --> library/std/src/fs.rs:1743:22
     |
1743 | /// [`symlink_dir`]: crate::os::windows::fs::symlink_dir
     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved link
     |
     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

error: aborting due to 14 previous errors

error: Could not document `std`.
2020-08-24 06:42:42 +00:00
Tobias Kortkamp
73f07f59d1 lang/rust-nightly: Update to 1.47.0.20200818
Changes:	770bd3d1d0...792c645ca7
2020-08-18 04:09:11 +00:00
Tobias Kortkamp
d039a44d74 lang/rust-nightly: Update to 1.47.0.20200811
Changes:	0820e54a8a...770bd3d1d0
2020-08-11 16:52:34 +00:00
Tobias Kortkamp
1c843dbb6a 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
2020-08-05 14:46:18 +00:00
Tobias Kortkamp
7208e49e39 lang/rust-nightly: Update to 1.47.0.20200724
Changes:	39d5a61f2e...0820e54a8a
2020-07-24 15:51:17 +00:00
Tobias Kortkamp
1f9e96c6c1 lang/rust-nightly: Attempt to fix intermittent "can't find crate for std" build failures
The location of rustc (found via env::current_exe()) is used to
find the right libstd.  However it might have been "copied" by
creating a hard link to the new location instead.  Like /proc/curproc/file,
KERN_PROC_PATHNAME (used internally by current_exe()) can return
any of the file's multiple paths.  Most of the time it returns the
right rustc path and the build will succeed but occasionally it
will return the "wrong" path and the build fails with:

    error[E0463]: can't find crate for `std`

If this is right a viable workaround should be to never create hard
links during the build, so let's try that.

Also drop the related llvm-config-wrapper workaround.

PR:		248184
2020-07-24 15:50:56 +00:00
Tobias Kortkamp
03e6b89b6d lang/rust-nightly: Unbreak build
RLS is broken in nightly-2020-07-18 but that should not have aborted
the package build.  Add a workaround for the dist.missing-tools
with build.tools bug.

https://github.com/rust-lang/rust/issues/74545
2020-07-20 17:52:06 +00:00
Tobias Kortkamp
e8350c46fb lang/rust-nightly: Update to 1.47.0.20200718
Changes:	0c03aee8b8...39d5a61f2e
2020-07-18 13:14:42 +00:00
Tobias Kortkamp
bc1e2a0a3c lang/rust-nightly: Update to 1.46.0.20200707
Changes:	0ca7f74dbd...0c03aee8b8
2020-07-07 15:46:47 +00:00
Tobias Kortkamp
4ad89416c1 lang/rust-nightly: Update to 1.46.0.20200630
Changes:	a8cf399117...0ca7f74dbd
2020-06-30 09:47:20 +00:00
Tobias Kortkamp
5150dddd9b lang/rust-nightly: Update to 1.46.0.20200622
Changes:	4fb54ed484...a8cf399117
2020-06-22 17:16:29 +00:00
Tobias Kortkamp
d85c40b711 lang/rust-nightly: Update to 1.46.0.20200615
- Try building LLVM with Ninja
- Move post-configure to lang/rust

Changes:	826cb062a6...4fb54ed484
2020-06-15 22:26:47 +00:00
Tobias Kortkamp
0dde186085 lang/rust-nightly: Update to 1.46.0.20200606
Changes:	4bd32c9804...826cb062a6
2020-06-06 17:10:54 +00:00
Tobias Kortkamp
8e2528559a lang/rust-nightly: Update to 1.45.0.20200530
Changes:	d79f1bd31a...4bd32c9804
2020-05-30 13:06:21 +00:00
Tobias Kortkamp
d48b854316 lang/rust-nightly: Update to 1.45.0.20200518
Changes:	9912925c25...d79f1bd31a
2020-05-18 19:51:07 +00:00
Alan Somers
a91e9355f1 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
2020-05-18 18:40:41 +00:00
Tobias Kortkamp
d791058c58 lang/rust-nightly: Update to 1.45.0.20200511
Changes:	65b448273d...9912925c25
2020-05-11 05:47:40 +00:00
Tobias Kortkamp
5202a56eff lang/rust-nightly: Update to 1.45.0.20200504
Changes:	e83f756349...65b448273d
2020-05-04 04:24:59 +00:00
Tobias Kortkamp
a981c37acf lang/rust-nightly: Update to 1.45.0.20200427
Changes:	7f3df57724...e83f756349
2020-04-27 04:19:46 +00:00
Tobias Kortkamp
eefc22ffc3 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
2020-04-19 03:55:22 +00:00
Tobias Kortkamp
54f81f8291 lang/rust-nightly: Update to 1.44.0.20200417
- Add workaround to fix build when CC/CXX have "clang" in them [1]
- Add patch to allow build with outdated libgit2 0.99.0

Changes:	485c5fb6e1...7f3df57724
PR:		238556 [1]
2020-04-17 10:53:18 +00:00
Tobias Kortkamp
b2279b67bf lang/rust-nightly: Update to 1.44.0.20200409
Changes:	76b11980ad...485c5fb6e1
2020-04-09 05:57:13 +00:00