SHA256
1
0
forked from pool/rust

Accepting request 863002 from devel:languages:rust

Rebase to Rust 1.49

OBS-URL: https://build.opensuse.org/request/show/863002
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust?expand=0&rev=60
This commit is contained in:
Dominique Leuenberger 2021-02-01 14:45:33 +00:00 committed by Git OBS Bridge
commit a6c6e5340d
33 changed files with 489 additions and 42 deletions

View File

@ -31,7 +31,7 @@
</conditions>
<hardware>
<physicalmemory>
<size unit="G">8</size>
<size unit="G">11</size>
</physicalmemory>
</hardware>
</overwrite>

View File

@ -1,7 +1,7 @@
Index: rustc-1.47.0-src/src/librustc_llvm/build.rs
Index: rustc-1.49.0-src/compiler/rustc_llvm/build.rs
===================================================================
--- rustc-1.47.0-src.orig/src/librustc_llvm/build.rs
+++ rustc-1.47.0-src/src/librustc_llvm/build.rs
--- rustc-1.49.0-src.orig/compiler/rustc_llvm/build.rs
+++ rustc-1.49.0-src/compiler/rustc_llvm/build.rs
@@ -157,6 +157,12 @@ fn main() {
continue;
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81146b6942665db5588f7b52ff0b2fbb7208dfe3d6ebd6cf9016e1cf1d487475
size 127384736

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f48b7484353fc9e653969f4d58e6c74988696807716a01f839fe12c4f10c2d5
size 123912836

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3aa34286c7fc308c174b6f315995f41126ee63d3be78b340171f4f06b606dce
size 141319800

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9938ac73efa45ec4468861891bac1ac33d20a79406a2a5f1baa5be606cd2321
size 111495200

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38dda3de218b229c15619b94ca0add6115daf5320298a50c0b3a50c49ab7647c
size 124882812

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:efc67459bf78e0cdc719ba8ffbd0a3c9644111fabe0f93e7e8a898cc3dfcde42
size 130200900

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6da8542cdc71ca7bc2de8ac9529404d4de754e50e4bdd350b1ff3f1e769f9079
size 134521076

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9877249e71f13775661feb9f5c922c094bfd87ba8a3f2b41532fa56b8a44b70e
size 127200200

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd5a8b4c891c1f569381c0c42a61a1f5c5aa0b34d34d6cd3ed6e5d37f24c00d4
size 133782948

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
wsFcBAABCgAQBQJftn++CRCFq5bm+hvl/gAAuAsQAI+liOmt69pEKQoEcrmNQaEK
t/i109MzLSNf9OV2HFI5VF5euSLNuvNjXDoRQcfDhVcI+ArDpu0liU0I7S/dnuWk
2R4sn4qTwDQmGKKzDNBgws9liLopr0PhA8nkEiFT8iCH7w449I9HSelUePKI7FNd
JsOhq/chkbmz8Dam4pcXQD1njjg/TFd8mdWUG17baPDB1uXuJXzSevLv55DCXpI5
HQGm3nOQe8yniakgADk22JILGl+c+y/8v+18HcRl3pHZDPc2qXG9G5AzjKJyWgjv
gFSIv5jndF9lZd2ifwB5S93qRmB6HAVe32wM6S3pRP7qML/ZDLOw7nbcoJXKQTi7
hyrhaOb/4Cti2E/ojtdJ4m6/C9JT/lTZSzCOsshvumM29b8H4VAo25xknNYwe9R+
8JALGxWveEEa+XL5o13TG+TlRF7kgFOxjjQ9K5EgVE6hMHxQn5Xq6P4RZbDbULix
ierjYW3YV8MEVViNCOzg3QB1Bt/O7rPGrIhbVFLdZhjkz95eAVV35C4W1SYZGNlx
sPXYFh9g/YOOpB+7+QHfWm2lHthuyzr0kW8+AD8vu2GXmK+LOv3uWPYLr0xt3602
aU0KjW+Es9yIYBdkYCRfMOwaefnGAoUNf0vrwdNPjr7xXCAs2IcYE3mWiKGjdWrN
g8tVLm1VlcEcbkixx2+6
=UY4p
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c8c14efc98e4864c6759c42751247ab09c3c8680f01c102170daec97a0b71623
size 134716224

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
wsFcBAABCgAQBQJftn9LCRCFq5bm+hvl/gAA25EQAJM5k6t/TlvLrcz+pmu6DRiL
N9RQ/rVhITetMPCR9p+TpZShmGnG8WyV0jygArpus2lRoW9fHkE6lA+UNpvn7VV0
pVmANxF/yccIQfVk7fExOBP8mfUEjlOKMEYvriOv+d30OQASY9R4r39Z5pcNtIXq
OdDiWbHi/A+0QoD6dYjzquM8KEyaWlT4kxjMFGPytOzdjVld9M3cplGbgouSOvbi
AsfxAfn5UafvJV+AHraBVormENgi+DoJGaOgpf7vOx/gXCnN/h4k9oGUD2j37e+6
ZSh4hPLlfxJ5j0bpN2moDdyfyBMs9dENcNgze5dgBhnrOt+r/pyrQecukTUSgPbV
l7UuJXzLznXhjEJOccb1q4shoXzM4T4x39aiFz60UC9mMiy+9SiAnfl9FienCGEg
LbIUukMzdvrUTprYCom2Hz+ypJXerZRwocEgi2bbuvbfKoPMkBefyTyr5S0N0JZe
2vVkgCjsd+5JhGQQ8KAlheg2Nt2D8NAiJOdt3k3WZUg5I8K/GLY8Xt4GEmRg/ePE
Y1HnHVGYNCkLsVduONj+77CzwgvIniUcTnI3izxllyBaHNFSM0tzmILgRD7EulzZ
5xq+lgfheol0pJxZWVBbLJ8b6A7x8+bTKUIbZKaNhEIbh+13EL3G4MeWLMsWmZB8
W1PiIin/iEciuZKNwuVl
=/M/N
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ddbfb5af1cd2cb6ae79d6f3f95cf29c0057e6387eada8b3975e7d7658e315aae
size 161602224

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
wsFcBAABCgAQBQJftn+NCRCFq5bm+hvl/gAA/dEP/iz9uu20WXoJQeb8ztdOpC1R
EvZrAa40o0IPY+LSMK/zU8jedxq/cRY4kVmyZc7tZejz6l6gWTPaB81pmLojHC1/
eHV6TmCVF3+XlzeqsvNXREfS0yWXgikuua3cc4hOscH/KVXCenzmz/c9No4+iuBb
y1DvCg530kuzBeci+MRttOFM/033ZAU+BNb2p1gh0DREh2emkJrPNak+tCPqZZlI
aqF6C7YBlBqJLV3ZkCpXGOFq5spRRblPnURtjCAn+8Zhc3xUUkiOdvGcsWlR4hqB
GXeomJQiBytI5ezzUwHETIDLsnBO0pGgeXTWSfRSSwZ9Hz4oLkiN1mL9RlYp1mv+
VZWdTTkrBV6NBbE7rQ+HoxXfkx5bZiqD8GSdHvjyxLnrWYHoqJNP989Gjk12+Dcj
E2O17YetLHqlQSRfi2ONW4FbzdVwZqVorv0oGnqONPUJfLUBjqPEKuRp3FrwtVa0
vE9xQfz+1s6DWTtyPigvEQqnVpVvXdSQqfVUEvpdlp1pMeDdz3x/kw8RAu9F2rUR
4cFb6qy8vd+/ar78JswFJ8JLAXwIH7lS/NTkmah4cUsJmKakI4BL8EhFDS8lOzzH
A0QIqhlsOwJFV0Z5JrZ38YOiDJHVYvAzXs+I5wQetN0RLb/X6DOssEeoEgy3A+x0
iulhy4WRNYkrq4wxPRNW
=B9u4
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3cb584410fe5523528dc15f7f321dc379e6d3049f68ac51117dd01ce337e458a
size 106401772

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
wsFcBAABCgAQBQJftn9VCRCFq5bm+hvl/gAADXQP/i8bDnpBJuIBHxGT5uV678ci
0IfoC+28PXRaDqTuX1dlNttSz6StKsOd0AsOsD1G5sHqAdzJ2ZmbMdnOtzkYkUZa
TPY+xNrMzIv7JCgFF8QjTvuXYgRYbu6v1lim8tj7iIEkXw0GgfruRn/XryWn524O
CL5KLO9plSGCtllwbDuC5bYIQP9oj/OS5pwOqzerm1BdVSbC3zcAmMk6MNQ8utDM
RLZ6713PAx7pNFv6waYnKM0bkWhIO6yB53mSrHfcHewpXvlNMiYCzKukMToLzj1/
jg67JY5OkRkdvAExT+5uMv1xr877FW/uDGj3M3eZ70WrPLSiKJ5yZ6GSCXpyfynG
jAxQPelu0S58ANfMLMJIq0CxhYSfjcw+P2ZTgNW+9ELSmwTPkR8ebwmy5L1tlHjS
AH4homk78Ehc8dgQTkCCWqoRrjhtgGGwDZPVQhIvw/HCvufVnNRSt4sE9EXfroc+
nZf18rDv4G/AqEHXBZn8AyOR66TEmU1AH0l1gZj4nhAZ1KTGkMsDdFpgGeJbPfE8
NnaOtM7wWhGK5QEOb1Msq0+H0Igyjrvlar6gBpE2F+fbC0CNSTlp/1fVUQb0YiV4
wU7wvTd+xotVMXNnKQNrCANSBoU6Qqz2G5Cq1Aqtbp7+9Go332dDnuNUWLSHhkEj
2Gmz9b7oVaVLylDnCYWQ
=+Qgr
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea43d333a046e13234cc520fbf3a2421861f8fac20b3ca6f9b6ccea20ce766c7
size 120497676

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
wsFcBAABCgAQBQJftn8KCRCFq5bm+hvl/gAAivUQAKagmXrW7u3Quqxj6/yqXQTL
r68So13CeqI6cYpXsEOGI4mLR56q7Kq8dQUNYFbfCL3FqqvAy82/p03w3+ztfdO8
U4NBIr4sMMe1qOZ4fp1HqDMEFovKTKrgZj/9NooH4KIHyXwqekox8fUeMKSp1308
3jeHL0oObbZTAiloWtKodvpeHNA7ZyRMJLKSouRgpFmnVrCK4xN/yJFQBa4aHhxN
rxPmfU+pB0Zv2GZWH7HL00QIUaLNmE2wQGrCu5trueQLyyWS4aPK2eKFvHnn9avP
DuUdnwuzSkEPdPXLV/hh6grXC3fGF0AigiqVH1V/7MUSuOPAFh0rFbIX03v2pt4r
bxX9Z/QkVhiUDvtDxU0mwsPHUaMt7WZ46KpwdxH6+yJVYBW4Ns9U+G688XfPTA3U
opK3b74ZugVme+6A5ia6bdNldRraB6ypX9epm38CGM9LvwJC9udD+VCnx/HiWWqB
bd1M4e3yCXN+DUBQhd4fKZYv3b8JFuqJIAZ5+hCU5cKhxDS2WTd6xdW0eFcMMBxS
TWv2dSeLXonpiBpTQIfGjfufE09W67KBsBycZMqrJ2kARZdlAiICwQLLxtPboaam
/7o53XgkPOvt/ClUpUZqCTllg9v6baetvQzmbRpJiQWQBAAZlGqs74NK2/UjYKcJ
0ea0plmFD3GDvuAl0lrN
=zuN2
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b82d800ca4933afedbbbd83f45e1b39aaea29556efdf5cfdbdc57746b32b7c5e
size 124335896

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
wsFcBAABCgAQBQJftn/hCRCFq5bm+hvl/gAAUukQAIdegm3eDZOMxXpymhDG1TCw
Nv0/BUo6sWOjfjagm6X/aaNg05/jwnHk2K5l4MG0NJzR8x3AkW7dpe3ftaJHFMdA
JoqZNIsY5NMP2T40szz6sA+DiZcm4g74dIYDMhTLaYAicTrlAARhly9xY3h+apa3
5kUT13z1BnIbjlyJG4+K5FSUcXVaX0hqLU19OMlrRYku8qyIIi/vZOWbaoH/KHCN
ZIjeGGXZ23UER78CiYcR3H46TbDwz6m8AsTe/TxHfMdv/qoxUmInJm77bydw9aG8
61WuXz1gJTxeY2fEweGN8+9o7iVqwXmY1UPxJ0jAPPEDOUhXUboNkQZU1Im7APIi
3xR2xou4Mt5ldMO5LQxylMyk0HexCQL1LR0gx4LNmfiyDfGmNI7D7cVYNMLkBdoA
jE7ySvQbMOkhMitA+9ViB8zCKW86gbfi3Axri2A3nOEXjp4YzQbtd7+WryprFiQc
EmxazIEm/5pUYgQILZCcgePoUPU1Q9i4kFoqn0HqXP8bX1IbzHmWkqJA9Dq8g2K1
t5NI5JRha0+9VdAnSJATCTDyndZsbmsJbYZe/zQ/ArJ0yRnKHXhsX1Y7b5zg9+Ul
GaNEQIep8Zo5fAKdK6LlA2uTs+Kap8HQ7L+3ypVc6g1rs8x4xlbPHnj7mRmN3cW1
kIzqrhqFbJqhqTg0PiPY
=CCMA
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:48ec3e4b90be3da3ba7493fe9879dbabb447de91876faaef356db544b181c48c
size 116811320

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
wsFcBAABCgAQBQJftn+eCRCFq5bm+hvl/gAAdsgP/RW7lJC97sWIYKrkmNUvdxkR
bHH6fCAz/kxdyUzo9aD28xsCGcBvxseGFFJwTWyuqlOAXyme6Lqi+l/JPKJSh6je
6l29wrYtYELl9xiqh9cxgW4dp2RRmmy8cQhPFPeh+wAF1AgmIc/apwQ0kvwQO6qp
PctLS+hOECyMSeXNowqY7buCPIxABKBvGwdcisu4XJ/GjVg5zBN1F1jr0VgGDkh4
CUYVk3IlJDIdt99gc9JcXYkAkJp6iW4Jwwf0ebEd40RiLCmih0PHYhtEOONuVsEt
av1mhqUvi6OBb8s0qJGTelL3isoipYD1yxj44ocuzYDSpfBLwPyl+y5pafyWNxbT
4ALeT2WHGwALSlorT7ormR9Fo/mTtc3OB7g4EFailMI+QO49x1pLPB1u0MXpPEGG
eV6F9cQnuZPRrSPw+px94g9MymHndSN1fLPnYso3V57oQXP+OErS5JZSxMR/UF6K
8M/tIpBHLLv5iRin5Z78qpEXvoq+UR+k+aCXujbN6hGDdg2WasNOp4Apx1JG1Bwx
0hf9b4RYAmcZgur9eJMshVXLgkeiGAfQWzlDsMp6sAKBtRMIZHMSVM4RFizs79ja
g9KmtFMWhLBxJtPrNo1sqimOwqVA+RhhCNi1i1vKl/+y1xaf2wfeVdrH64V3f62n
7Lidgr3yqz1mvmB3Szjg
=KRlW
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:655eb9e55a00e39503bb6a1924b946ed3d11f92c90955ed773b683aa42f308d4
size 127221600

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
wsFcBAABCgAQBQJftn+8CRCFq5bm+hvl/gAAKJ8P/2qC3N1Vir2NxjI8uDn16IUY
iINfZBjB4u3st7Fnme4qJJ3QEAQ1U4RxmypsuMS96my6KUhA0waM+rhBiBXtmyYq
qhgVSqma92ENE7aqBBmDWBbJVRH33mDoTg0rVFbLlmJAzwMkHP3qvO06WBcXwXd2
h5QNaaA+UqkqlWcFIpUrJL25bbtUkMJ2fn0oRSJNJY5g9WNZ4ovT7zahKNAEWox9
s7zrsR2GoDpWQAJgVedK65nsvVlsj688p1XAp8mfTYBy8zOr/yyaQGUzAiVYN6zd
Bme/kAK8S/K4hZtAwXQWDEs0ukiAtvl6EtdxgeKM6E8W6KIzI6eZgJArTXK2ty+5
NIyoIDapWjL7PlTGarNU0MkR1kJeUk3hC4b7Lr09P/n0ILavwh0Z189ps4VNe29+
/CCTAWlVd0BqgeUbKF3GOlJiyNBS0P7UUSZrHQ2ZgrvrTApWlRbIc+9mYsOAYk5d
gvV3zOFj9Pa3DKiLKWQ9fGKvvM8pc4EEwimbEUZHKRtfRLZAWfJdi9ijbke+fCA5
WkbZxVcWo9zsfACtXwAgfx31IeK1tsN61EPnj3tubhB3w4Juaie/KgIwdagfZRXj
HdsE9vv30bbWqpcTJFFJOaAXumVOWHAVhZe8W6+bmg/9ALAmZJztGpeqy8fOrL0a
fluhrXlZf7XowKMpr6kt
=tzXG
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58270d8e10f72e1712ba08db6b8f8ffca64a63d1a7b220688b59fb05655b3843
size 155254844

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
wsFcBAABCgAQBQJftn9KCRCFq5bm+hvl/gAAtfwQAL5Q8+pghfuy/cKMvcDRTV6M
UtGJQWciPtD+UiO1tHCXHuwxhaDTtCxQ2RZ5nqJ4sLpKUFJHo/7uDgjGciiRqFVN
KnstV3MmC/aeMVerq5H+rbCRNHuycsDksmFok4XdUBANGGUsP17k9WarZv5tP82w
d7j3o91JP42HBFrcFEwbvUMbiyd9ERQgKeiwsvNOwE0zC3JFMlU3K8P6/gFc0HyM
dMrLrSua2nmQPb8drxEFTUjYhYaL9o6i82RxqNhmL30ewOtowongKvAn3VZjuTBX
YEjMnmG1AF21+yLETz59xQ7+9sXYKroqrbXa1so3Ibp4E83EuCVeuw084om5ve5t
X2WPKYjhJuMzbouCp+tvbOOsSj6UUp378FsZW2vXSdFHzMy7j71tEPPilPIjC1E+
KzYcquhHf0CgFDrh7NBgFIh0TXf1w5LcsyTbTQzVGVYOxX3WsG54jzD83qzGL8KH
Op4nnsN9AOwJssvxHFOzg3kHoZKYu//WOMLdhKthvNAXR8USsxPBfjBfEZGawBuU
dXx0RCa3zptJwlxvLGzce7bm3A5VgX06HWEfZtPDLaIONSHIoAOGJ5eANR6JUgRy
Cy9gTZRJrgQ/jaT4TVXh/YiobnQrbsugfRUGUOUbmrRRxEaGKVcm61L3D89ii99N
bLE4w7MM0KcgyqwNbQz3
=wLbb
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,200 @@
-------------------------------------------------------------------
Sun Jan 10 13:15:07 UTC 2021 - Neal Gompa <ngompa13@gmail.com>
- Add riscv64 build
-------------------------------------------------------------------
Sat Jan 9 16:50:11 UTC 2021 - Manfred Hollstein <manfred.h@gmx.net>
- <https://github.com/rust-lang/rust/issues/74976>: Add "--stage 1"
to the "./x.py doc" call to ensure the newly built compiler gets
used.
-------------------------------------------------------------------
Sat Jan 9 09:26:51 UTC 2021 - Manfred Hollstein <manfred.h@gmx.net>
- Leap 15.3 does not provide a suitable llvm-devel package, hence
explicitly require llvm9-devel. Details can be seen in the following
e-mail thread
<https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/ZQWAMG2VYBSI2BFM7G3H5YG26ALXWAOA/>
-------------------------------------------------------------------
Sun Jan 3 11:33:37 UTC 2021 - Manfred Hollstein <manfred.h@gmx.net>
- Update to version 1.49.0
+ Language
- Unions can now implement Drop, and you can now have a field in
a union with ManuallyDrop<T>.
- You can now cast uninhabited enums to integers.
- You can now bind by reference and by move in patterns. This
allows you to selectively borrow individual components of a type.
E.g.
#[derive(Debug)]
struct Person {
name: String,
age: u8,
}
let person = Person {
name: String::from("Alice"),
age: 20,
};
// `name` is moved out of person, but `age` is referenced.
let Person { name, ref age } = person;
println!("{} {}", name, age);
+ Compiler
- Added tier 1* support for aarch64-unknown-linux-gnu.
- Added tier 2 support for aarch64-apple-darwin.
- Added tier 2 support for aarch64-pc-windows-msvc.
- Added tier 3 support for mipsel-unknown-none.
- Raised the minimum supported LLVM version to LLVM 9.
- Output from threads spawned in tests is now captured.
- Change os and vendor values to "none" and "unknown" for some targets
* Refer to Rust's platform support page for more information on Rust's
tiered platform support.
+ Libraries
- RangeInclusive now checks for exhaustion when calling contains and
indexing.
- ToString::to_string now no longer shrinks the internal buffer in
the default implementation.
- ops::{Index, IndexMut} are now implemented for fixed sized arrays
of any length.
+ Stabilized APIs
- slice::select_nth_unstable
- slice::select_nth_unstable_by
- slice::select_nth_unstable_by_key
The following previously stable methods are now const.
- Poll::is_ready
- Poll::is_pending
+ Cargo
- Building a crate with cargo-package should now be independently
reproducible.
- cargo-tree now marks proc-macro crates.
- Added CARGO_PRIMARY_PACKAGE build-time environment variable. This
variable will be set if the crate being built is one the user
selected to build, either with -p or through defaults.
- You can now use glob patterns when specifying packages & targets.
+ Compatibility Notes
- Demoted i686-unknown-freebsd from host tier 2 to target tier 2
support.
- Macros that end with a semi-colon are now treated as statements
even if they expand to nothing.
- Rustc will now check for the validity of some built-in attributes
on enum variants. Previously such invalid or unused attributes
could be ignored.
- Leading whitespace is stripped more uniformly in documentation
comments, which may change behavior. You read this post about
the changes for more details.
- Trait bounds are no longer inferred for associated types.
+ 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.
- rustc's internal crates are now compiled using the initial-exec
Thread Local Storage model.
- Calculate visibilities once in resolve.
- Added system to the llvm-libunwind bootstrap config option.
- Added --color for configuring terminal color support to bootstrap.
- Rebased patches:
+ ignore-Wstring-conversion.patch (location)
-------------------------------------------------------------------
Sun Jan 3 11:27:23 UTC 2021 - Manfred Hollstein <manfred.h@gmx.net>
- LLVM >= 9.0 is needed nowadays.
- Disable usage of "ninja" for all distributions older than Leap 15.2
-------------------------------------------------------------------
Sat Jan 2 16:50:47 UTC 2021 - Manfred Hollstein <manfred.h@gmx.net>
- Update to version 1.48.0
+ Language
- The `unsafe` keyword is now syntactically permitted on modules.
This is still rejected semantically, but can now be parsed by procedural
macros.
+ Compiler
- Stabilised the `-C link-self-contained=<yes|no>` compiler flag.
This tells `rustc` whether to link its own C runtime and libraries or to
rely on a external linker to find them. (Supported only on `windows-gnu`,
`linux-musl`, and `wasi` platforms.)
- You can now use `-C target-feature=+crt-static` on `linux-gnu` targets.
Note: If you're using cargo you must explicitly pass the `--target` flag.
- Added tier 2* support for aarch64-unknown-linux-musl.
* Refer to Rust's platform support page for more information on Rust's
tiered platform support.
+ Libraries
- io::Write is now implemented for &ChildStdin &Sink, &Stdout, and &Stderr.
- All arrays of any length now implement TryFrom<Vec<T>>.
- The matches! macro now supports having a trailing comma.
- Vec<A> now implements PartialEq<[B]> where A: PartialEq<B>.
- The RefCell::{replace, replace_with, clone} methods now all use #[track_caller].
+ Stabilized APIs
- slice::as_ptr_range
- slice::as_mut_ptr_range
- VecDeque::make_contiguous
- future::pending
- future::ready
The following previously stable methods are now `const fn's`:
- Option::is_some
- Option::is_none
- Option::as_ref
- Result::is_ok
- Result::is_err
- Result::as_ref
- Ordering::reverse
- Ordering::then
+ Cargo
+ Rustdoc
- You can now link to items in rustdoc using the intra-doc link syntax.
E.g. /// Uses [`std::future`] will automatically generate a link to
std::future's documentation. See "Linking to items by name" for more
information.
- You can now specify #[doc(alias = "<alias>")] on items to add search
aliases when searching through rustdoc's UI.
+ Compatibility Notes
- Promotion of references to 'static lifetime inside const fn now
follows the same rules as inside a fn body. In particular, &foo()
will not be promoted to 'static lifetime any more inside const fns.
- Associated type bindings on trait objects are now verified to meet
the bounds declared on the trait when checking that they implement
the trait.
- When trait bounds on associated types or opaque types are ambiguous,
the compiler no longer makes an arbitrary choice on which bound to use.
- Fixed recursive nonterminals not being expanded in macros during
pretty-print/reparse check. This may cause errors if your macro
wasn't correctly handling recursive nonterminal tokens.
- &mut references to non zero-sized types are no longer promoted.
- rustc will now warn if you use attributes like #[link_name] or
#[cold] in places where they have no effect.
- Updated _mm256_extract_epi8 and _mm256_extract_epi16 signatures
in arch::{x86, x86_64} to return i32 to match the vendor signatures.
- mem::uninitialized will now panic if any inner types inside a struct
or enum disallow zero-initialization.
- #[target_feature] will now error if used in a place where it has no effect.
- Foreign exceptions are now caught by catch_unwind and will cause an
abort. Note: This behaviour is not guaranteed and is still considered
undefined behaviour, see the catch_unwind documentation for further
information.
+ 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.
- Building rustc from source now uses ninja by default over make.
You can continue building with make by setting ninja=false in
your config.toml.
- cg_llvm: fewer_names in uncached_llvm_type
- Made ensure_sufficient_stack() non-generic
- Rebased patches:
+ ignore-Wstring-conversion.patch (location)
-------------------------------------------------------------------
Sat Nov 28 01:25:03 UTC 2020 - Bernhard Wiedemann <bwiedemann@suse.com>
- Check upstream signatures for binaries
- Add rust.keyring
-------------------------------------------------------------------
Fri Nov 20 13:40:04 UTC 2020 - Manfred Hollstein <manfred.h@gmx.net>

85
rust.keyring Normal file
View File

@ -0,0 +1,85 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFJEwMkBEADlPACa2K7reD4x5zd8afKx75QYKmxqZw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J7ASrynoxEnQE8k3WwA+/YJDwboIR7zDwTy3Jw3
mn1FgnH+c7Rb9h9geOzxKYINBFz5Hd0MKx7kZ1U6WobWKiYYxcCmoEeguSPHABEB
AAGJAh8EGAECAAkFAlJEwMkCGwwACgkQhauW5vob5f7fFA//Ra+itJF4NsEyyhx4
xYDOPq4uj0VWVjLdabDvFjQtbBLwIyh2bm8uO3AY4r/rrM5WWQ8oIXQ2vvXpAQO9
g8iNlFez6OLzbfdSG80AG74pQqVVVyCQxD7FanB/KGgetAoOstFxaCAg4nxFlarM
ctFqOOXCFkylWl504JVIOvgbbbyj6I7qCUmbmqazBSMUK8c/Nz+FNu2Uf/lYWOeG
ogRSBgS0CVBcbmPUpnDHLxZWNXDWQOCxbhA1Uf58hcyu036kkiWHh2OGgJqlo2WI
raPXx1cGw1Ey+U6exbtrZfE5kM9pZzRG7ZY83CXpYWMpkyVXNWmf9JcIWWBrXvJm
Mi0FDvtgg3Pt1tnoxqdilk6yhieFc8LqBn6CZgFUBk0tNSaWk3PsN0N6Ut8VXY6s
ai7MJ0Gih1gE1xadWj2zfZ9sLGyt2jZ6wK++U881YeXAryaGKJ8sIs182hwQb4qN
7eiUHzLtIh8oVBHo8Q4BJSat88E5/gOD6IQIpxc42iRLT+oNZw1hdwNyPOT1GMkk
n86l3o7klwmQUWCPm6vl1aHp3omo+GHC63PpNFO5RncJIlo3aBKKmoE5lDSMGE8K
Fso5awTo9z9QnVPkRsk6qeBYit9xE3x3S+iwjcSg0nieaAkc0N00nc9V9jfPvt4z
/5A5vjHh+NhFwH5h2vBJVPdsz6k=
=jRHo
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,7 +1,7 @@
#
# spec file for package rust
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2019 Luke Jones, luke@ljones.dev
#
# All modifications and additions to the file contributed by third parties
@ -17,12 +17,12 @@
#
%global version_current 1.47.0
%global version_previous 1.46.0
%global version_bootstrap 1.46.0
%global version_current 1.49.0
%global version_previous 1.48.0
%global version_bootstrap 1.48.0
# some sub-packages are versioned independently
%global rustfmt_version 1.4.21
%global rustfmt_version 1.4.25
%global clippy_version 0.0.212
# Build the rust target triple.
@ -129,6 +129,7 @@ License: MIT OR Apache-2.0
Group: Development/Languages/Rust
URL: https://www.rust-lang.org
Source0: %{dl_url}/rustc-%{version}-src.tar.xz
Source1: %{name}.keyring
Source99: %{name}-rpmlintrc
Source100: %{dl_url}/rust-%{version_bootstrap}-x86_64-unknown-linux-gnu.tar.xz
Source101: %{dl_url}/rust-%{version_bootstrap}-i686-unknown-linux-gnu.tar.xz
@ -138,8 +139,16 @@ Source105: %{dl_url}/rust-%{version_bootstrap}-powerpc64-unknown-linux-gnu.
Source106: %{dl_url}/rust-%{version_bootstrap}-powerpc64le-unknown-linux-gnu.tar.xz
Source107: %{dl_url}/rust-%{version_bootstrap}-s390x-unknown-linux-gnu.tar.xz
Source108: %{dl_url}/rust-%{version_bootstrap}-powerpc-unknown-linux-gnu.tar.xz
# Not yet available
#Source109: %{dl_url}/rust-%{version_bootstrap}-riscv64gc-unknown-linux-gnu.tar.xz
Source109: %{dl_url}/rust-%{version_bootstrap}-riscv64gc-unknown-linux-gnu.tar.xz
Source200: %{dl_url}/rust-%{version_bootstrap}-x86_64-unknown-linux-gnu.tar.xz.asc
Source201: %{dl_url}/rust-%{version_bootstrap}-i686-unknown-linux-gnu.tar.xz.asc
Source202: %{dl_url}/rust-%{version_bootstrap}-aarch64-unknown-linux-gnu.tar.xz.asc
Source203: %{dl_url}/rust-%{version_bootstrap}-armv7-unknown-linux-gnueabihf.tar.xz.asc
Source205: %{dl_url}/rust-%{version_bootstrap}-powerpc64-unknown-linux-gnu.tar.xz.asc
Source206: %{dl_url}/rust-%{version_bootstrap}-powerpc64le-unknown-linux-gnu.tar.xz.asc
Source207: %{dl_url}/rust-%{version_bootstrap}-s390x-unknown-linux-gnu.tar.xz.asc
Source208: %{dl_url}/rust-%{version_bootstrap}-powerpc-unknown-linux-gnu.tar.xz.asc
Source209: %{dl_url}/rust-%{version_bootstrap}-riscv64gc-unknown-linux-gnu.tar.xz.asc
# Make factory-auto stop complaining...
Source1000: README.suse-maint
# PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag
@ -173,11 +182,15 @@ BuildRequires: gcc-c++
%if !%{with rust_bootstrap} && 0%{?sle_version} >= 150000
BuildRequires: pkgconfig(libssh2) >= 1.6.0
%endif
# Real LLVM minimum version should be 8.x, but rust has a fallback
# Real LLVM minimum version should be 9.x, but rust has a fallback
# mode
%if !%with bundled_llvm
%if 0%{?suse_version} < 1550
BuildRequires: llvm9-devel
%else
BuildRequires: llvm-devel >= 8.0
%endif
%endif
%if !%with rust_bootstrap
# We will now package cargo using the version number of rustc since it
# is being built from rust sources. Old cargo packages have a 0.x
@ -383,8 +396,7 @@ This package includes HTML documentation for Cargo.
%setup -q -T -b 108 -n rust-%{version_bootstrap}-%{rust_triple}
%endif
%ifarch riscv64
# Not yet available
#%%setup -q -T -b 109 -n rust-%{version_bootstrap}-%{rust_triple}
%setup -q -T -b 109 -n rust-%{version_bootstrap}-%{rust_triple}
%endif
./install.sh --components=cargo,rustc,rust-std-%{rust_triple} --prefix=.%{_prefix} --disable-ldconfig
%endif
@ -466,6 +478,12 @@ chmod +x library/core/src/unicode/printable.py
if [ $(%{rust_root}/bin/rustc --version | sed -En 's/rustc ([0-9].[0-9][0-9].[0-9]).*/\1/p') = '%{version}' ]; then
sed -i -e "s|#local-rebuild = false|local-rebuild = true|" config.toml;
fi
%if %with bundled_llvm
# Ninja gets used for building llvm from rust-1.48 onwards;
# disable its use for anything older than Leap 15.2:
sed -i -e "s|#ninja = true|ninja = false|" config.toml
%endif
# Create exports file
# Keep all the "export VARIABLE" together here, so they can be
@ -490,7 +508,7 @@ EOF
. ./.env.sh
./x.py build -v
./x.py doc -v
./x.py doc -v --stage 1
%install
# Reread exports file

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec2c81d2d34890486094a6407589be96161e4e301c238332d32c6dbae4f38ea2
size 104143736

3
rustc-1.49.0-src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ebe910edc824a0a037a10be443446a0511923ba8342fa3c331ec8a22481d5d15
size 108330280