139 Commits

Author SHA1 Message Date
semarie
275bb6b459 lang/rust: update to 1.54.0
Announce: https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1540-2021-07-29

ok landry@
2021-08-15 13:38:04 +00:00
semarie
cdf1749b92 update lang/rust to 1.53.0
Announce: https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html
Release notes: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1530-2021-06-17
2021-06-20 18:07:09 +00:00
semarie
0bb34427df update lang/rust to 1.52.1
it is a bug fix update, adding a workaround in incremental compilation.

Incremental compilation is off by default for release builds, so rust ports should be unaffected.

Announce: https://blog.rust-lang.org/2021/05/10/Rust-1.52.1.html
2021-05-13 11:56:19 +00:00
semarie
9c6152f2cb lang/rust: update to 1.52.0
Announce: https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1520-2021-05-06
2021-05-08 07:20:42 +00:00
semarie
0dfee66db3 update lang/rust to 1.51.0
ok landry@

Announce: https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1510-2021-03-25
2021-03-27 10:02:11 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
semarie
67775d51fc lang/rust: update to 1.50.0
Announce: https://blog.rust-lang.org/2021/02/11/Rust-1.50.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1500-2021-02-11
2021-02-13 18:31:24 +00:00
semarie
4bce3a98fa lang/rust: make rustbuild part to use the bootstrap wrapper
it makes proper configuration to run cargo when system libs aren't in
sync with the bootstrap binary.
2021-01-06 18:48:25 +00:00
semarie
77500f6a37 update lang/rust to 1.49.0
ok landry@

Announce: https://blog.rust-lang.org/2020/12/31/Rust-1.49.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1490-2020-12-31
2021-01-01 09:02:54 +00:00
semarie
912c83f6c6 update lang/rust to 1.48.0
Announce: https://blog.rust-lang.org/2020/11/19/Rust-1.48.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1480-2020-11-19

ok landry@
2020-11-19 16:06:06 +00:00
semarie
c8a1e8317e lang/rust: re-add libgit2 as dependency now it is a more recent version (cargo will pick it anyway) 2020-11-09 18:56:10 +00:00
semarie
595184c67f update rustc to 1.47.0 2020-11-05 09:21:34 +00:00
semarie
3a84a25a91 update lang/rust to 1.46.0
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1460-2020-08-27
Announce: https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html

ok landry@
2020-08-27 17:24:57 +00:00
semarie
f1c66a9fd3 update lang/rust to 1.45.2
Announce: https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1452-2020-08-03
2020-08-05 07:14:04 +00:00
semarie
dc66e76686 lang/rust distinfo doesn't match. re-updating it. 2020-08-01 12:06:24 +00:00
semarie
1901b2d3e9 update lang/rust to 1.45.1 2020-08-01 08:36:38 +00:00
semarie
d9877b853a update lang/rust to 1.45.0
Announce: https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1450-2020-07-16
2020-07-22 06:59:17 +00:00
sthen
c238f232c6 bump; plist changed but no forced python dep 2020-07-04 09:58:00 +00:00
semarie
48d6ff37af update lang/rust to 1.44.1
ChangeLog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1441-2020-06-18
Announce: https://blog.rust-lang.org/2020/06/18/Rust.1.44.1.html
2020-06-26 11:29:47 +00:00
semarie
3685f3127e update lang/rust to 1.44.0
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1440-2020-06-04

switch to embedded libgit2 version for now

ok landry@
2020-06-09 06:39:30 +00:00
semarie
9bafcfb23a update lang/rust to 1.43.1
Announce: https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html
 and https://blog.rust-lang.org/2020/05/07/Rust.1.43.1.html

ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1431-2020-05-07
2020-05-16 14:13:53 +00:00
semarie
aa9042fc92 unbreak lang/rust
switch to py3 changed few plists (-gdb and -main) as python bytecode are shipped

update PLIST, and bump REVISION
2020-04-18 06:47:10 +00:00
semarie
45afb00448 lang/rust: update sparc64 bootstrap + switch to py3 (only used at build time for the build script) 2020-04-17 14:49:19 +00:00
semarie
c1b159d7ba update lang/rust to 1.42.0
Announce: https://blog.rust-lang.org/2020/03/12/Rust-1.42.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1420-2020-03-12
2020-03-21 05:23:59 +00:00
semarie
2c84ff6b2b update lang/rust to 1.41.1
Announce: https://blog.rust-lang.org/2020/02/27/Rust-1.41.1.html

while here update the sparc64 bootstrap to 1.41.0 (to be ready for next update)
2020-03-03 10:46:42 +00:00
semarie
156684b5a5 update lang/rust to 1.41.0
Announce: https://blog.rust-lang.org/2020/01/30/Rust-1.41.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1410-2020-01-30

ok landry@ jca@
2020-02-11 12:48:20 +00:00
jasper
f9952e51b1 Use hw.ncpuonline for num_cpus::get()
This affects the number of jobs cargo will spawn which previously didn't take
take into account whether or not hw.smt was set.
Also implement num_cpus::get_num_physical_cpus() while here.

Patch has been merged upstream already.

ok semarie@ (MAINTAINER)
2020-01-17 19:13:19 +00:00
semarie
fc0f834799 lang/rust: update sparc64 bootstrap to use 1.40.0 version 2020-01-11 05:45:09 +00:00
semarie
ba73b5ee28 update lang/rust to 1.40.0
Announce: https://blog.rust-lang.org/2019/12/19/Rust-1.40.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1400-2019-12-19
2019-12-22 17:00:31 +00:00
semarie
65e1e600a2 update lang/rust to 1.39.0
(late commit due to problems with sparc64 - segfault)

tested by landry@
ok reyk@

ChangeLog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1390-2019-11-07
Announce: https://blog.rust-lang.org/2019/11/07/Rust-1.39.0.html
2019-12-10 07:32:42 +00:00
semarie
feb19d4615 update lang/rust to 1.38.0
Release: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1380-2019-09-26
Announce: https://blog.rust-lang.org/2019/09/26/Rust-1.38.0.html

ok landry@
2019-09-29 08:23:17 +00:00
semarie
37d207f45a add sparc64 in RUST_ARCHS (all rust ports take care of sparc64 now)
and enable lang/rust build on sparc64
2019-09-02 07:05:48 +00:00
semarie
5ff04b132c update lang/rust to 1.37.0
(and add preliminary sparc64 support)

Announce: https://blog.rust-lang.org/2019/08/15/Rust-1.37.0.html
Changelog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1370-2019-08-15

ok landry@
2019-08-16 18:14:21 +00:00
semarie
52da7c5584 update lang/rust to 1.36.0
Announce: https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html
Release notes: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1360-2019-07-04

ok landry@
2019-07-09 11:24:28 +00:00
sthen
6ff3e55398 bump REVISION in a bunch of ports known or likely to use struct kinfo_proc,
there may be some missing as my unpacked ports source is a little out of date
but this should catch the main things people might run into

the struct was reordered a second time in sysctl.h r1.192 to improve
compatibility but amd64 snapshot packages made it out before that happened
so the bumps are still needed
2019-06-25 20:25:20 +00:00
semarie
55e2665c43 update rust to 1.35.0
ChangeLog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1350-2019-05-23
Announce: https://blog.rust-lang.org/2019/05/23/Rust-1.35.0.html

ok landry@
2019-05-24 04:28:24 +00:00
semarie
77aea6d15a update lang/rust to 1.34.2
Announce: https://blog.rust-lang.org/2019/05/14/Rust-1.34.2.html
Security advisory for the standard library: https://blog.rust-lang.org/2019/05/13/Security-advisory.html

In short, starting with 1.34.0, you can "safely" cast a type to the wrong
type by using Error::type_id function in the standard library. As it
could result out of bounds reads/writes/etc it is considered as security
issue.
2019-05-15 06:10:24 +00:00
semarie
b4ad310afc update to 1.31.1
it affects only clippy tool.

Announce: https://blog.rust-lang.org/2019/04/25/Rust-1.34.1.html
Changelog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1341-2019-04-25
2019-04-27 08:50:18 +00:00
semarie
ac56eef94e reduces the PLIST divergence between archs by using a controlled way to
generate metadata/hash on libraries.

remove -doc subpackage too, as it has different files depending the
arch.

with that, we should be able to have rustc on more archs.

OK sthen@
2019-04-26 15:08:33 +00:00
semarie
cacb466dd5 update to 1.34.0
announce: https://blog.rust-lang.org/2019/04/11/Rust-1.34.0.html
changelog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1340-2019-04-11
2019-04-17 06:55:59 +00:00
semarie
05d1db11a2 update lang/rust to 1.33.0
Announce: https://blog.rust-lang.org/2019/02/28/Rust-1.33.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1330-2019-02-28

ok landry@
2019-03-11 19:13:40 +00:00
semarie
2862edd08c backport patches to devel/llvm
- da1fb72bb3
- cc1f2a595e

it should unbreak firefox: firefox uses rustc with `-C lto' option for
some part of its build, and this code path expose the llvm bug.

llvm review: https://reviews.llvm.org/D52340
rust issue: https://github.com/rust-lang/rust/issues/57762

bump lang/rust to ensure updated statically linked libraries are taken on update.

ok jca@
2019-01-30 07:36:06 +00:00
semarie
2d7b810f6a update lang/rust bootstraps to change a bit the way hash metadata is
generated.

in general case, the output of `rustc -vV` is still used as part of the
hashed data. the output contains the exact version of the rustc and the
LLVM version used.

but when used for build the port, it will use a less changing string:
only the major+minor version (without patch number) and no more LLVM
version.

the choice between the two way is based on the presence of environment
variable.

it will permit to avoid change in filenames (and so PLIST regeneration
requirement) when:
- patch release of rustc is pushed
- llvm is updated
2019-01-27 05:25:29 +00:00
semarie
e96fa506fd update to 1.32.0
Announcing: https://blog.rust-lang.org/2019/01/17/Rust-1.32.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1320-2019-01-17

ok landry@
2019-01-22 05:07:19 +00:00
semarie
af1a08a888 update to 1.32.0
Announcing: https://blog.rust-lang.org/2019/01/17/Rust-1.32.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1320-2019-01-17

ok landry@
2019-01-22 04:47:48 +00:00
semarie
d2891f6e1c maintenance update to 1.31.1
Version 1.31.1 (2018-12-20)
- Fix Rust failing to build on powerpc-unknown-netbsd
- Fix broken go-to-definition in RLS
- Fix infinite loop on hover in RLS
2018-12-21 08:24:19 +00:00
semarie
ea37087119 build clippy (linter) and rustfmt (code formatter) and provide them in
subpackages. while here create a subpackage for rust-gdb also.

looks good landry@
2018-12-16 09:19:57 +00:00
semarie
97f5af796f update lang/rust to 1.31.0
Announcing: https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html
Release notes: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1310-2018-12-06

ok landry@
2018-12-08 09:16:09 +00:00
espie
39527c5e21 fix the port
meta-info should always exist, even on a bad arch.
2018-11-22 12:40:21 +00:00
landry
400668b248 Minor update to rust 1.30.1, from semarie@
See https://blog.rust-lang.org/2018/11/08/Rust-1.30.1.html
2018-11-10 11:12:25 +00:00