Commit f40cd06
committed
rust: Upgrade to version 1.68.0.
Pkgsrc changes:
* Adjust patches and cargo checksums to new versions.
Upstream changes:
Version 1.68.0 (2023-03-09)
===========================
Language
--------
- [Stabilize default_alloc_error_handler]
(rust-lang/rust#102318)
This allows usage of `alloc` on stable without requiring the
definition of a handler for allocation failure. Defining custom
handlers is still unstable.
- [Stabilize `efiapi` calling convention.]
(rust-lang/rust#105795)
- [Remove implicit promotion for types with drop glue]
(rust-lang/rust#105085)
Compiler
--------
- [Change `bindings_with_variant_name` to deny-by-default]
(rust-lang/rust#104154)
- [Allow .. to be parsed as let initializer]
(rust-lang/rust#105701)
- [Add `armv7-sony-vita-newlibeabihf` as a tier 3 target]
(rust-lang/rust#105712)
- [Always check alignment during compile-time const evaluation]
(rust-lang/rust#104616)
- [Disable "split dwarf inlining" by default.]
(rust-lang/rust#106709)
- [Add vendor to Fuchsia's target triple]
(rust-lang/rust#106429)
- [Enable sanitizers for s390x-linux]
(rust-lang/rust#107127)
Libraries
---------
- [Loosen the bound on the Debug implementation of Weak.]
(rust-lang/rust#90291)
- [Make `std::task::Context` !Send and !Sync]
(rust-lang/rust#95985)
- [PhantomData layout guarantees]
(rust-lang/rust#104081)
- [Don't derive Debug for `OnceWith` & `RepeatWith`]
(rust-lang/rust#104163)
- [Implement DerefMut for PathBuf]
(rust-lang/rust#105018)
- [Add O(1) `Vec -> VecDeque` conversion guarantee]
(rust-lang/rust#105128)
- [Leak amplification for peek_mut() to ensure BinaryHeap's invariant
is always met]
(rust-lang/rust#105851)
Stabilized APIs
---------------
- [`{core,std}::pin::pin!`]
(https://doc.rust-lang.org/stable/std/pin/macro.pin.html)
- [`impl From<bool> for {f32,f64}`]
(https://doc.rust-lang.org/stable/std/primitive.f32.html#impl-From%3Cbool%3E-for-f32)
- [`std::path::MAIN_SEPARATOR_STR`]
(https://doc.rust-lang.org/stable/std/path/constant.MAIN_SEPARATOR_STR.html)
- [`impl DerefMut for PathBuf`]
(https://doc.rust-lang.org/stable/std/path/struct.PathBuf.html#impl-DerefMut-for-PathBuf)
These APIs are now stable in const contexts:
- [`VecDeque::new`]
(https://doc.rust-lang.org/stable/std/collections/struct.VecDeque.html#method.new)
Cargo
-----
- [Stabilize sparse registry support for crates.io]
(rust-lang/cargo#11224)
- [`cargo build --verbose` tells you more about why it recompiles.]
(rust-lang/cargo#11407)
- [Show progress of crates.io index update even `net.git-fetch-with-cli`
option enabled]
(rust-lang/cargo#11579)
Misc
----
Compatibility Notes
-------------------
- [Add `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` to future-incompat report]
(rust-lang/rust#103418)
- [Only specify `--target` by default for `-Zgcc-ld=lld` on wasm]
(rust-lang/rust#101792)
- [Bump `IMPLIED_BOUNDS_ENTAILMENT` to Deny + ReportNow]
(rust-lang/rust#106465)
- [`std::task::Context` no longer implements Send and Sync]
(rust-lang/rust#95985)
nternal Changes
----------------
These changes do not affect any public interfaces of Rust, but they represent
significant improvements to the performance or internals of rustc and related
tools.
- [Encode spans relative to the enclosing item]
(rust-lang/rust#84762)
- [Don't normalize in AstConv]
(rust-lang/rust#101947)
- [Find the right lower bound region in the scenario of partial order relations]
(rust-lang/rust#104765)
- [Fix impl block in const expr]
(rust-lang/rust#104889)
- [Check ADT fields for copy implementations considering regions]
(rust-lang/rust#105102)
- [rustdoc: simplify JS search routine by not messing with lev distance]
(rust-lang/rust#105796)
- [Enable ThinLTO for rustc on `x86_64-pc-windows-msvc`]
(rust-lang/rust#103591)
- [Enable ThinLTO for rustc on `x86_64-apple-darwin`]
(rust-lang/rust#103647)1 parent b2c2d78 commit f40cd06
File tree
9 files changed
+145
-383
lines changed- rust
- patches
9 files changed
+145
-383
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
| 346 | + | |
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
| 355 | + | |
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
375 | 384 | | |
376 | 385 | | |
377 | 386 | | |
378 | 387 | | |
379 | 388 | | |
380 | 389 | | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
424 | | - | |
| 423 | + | |
| 424 | + | |
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | 456 | | |
461 | 457 | | |
462 | 458 | | |
463 | 459 | | |
464 | 460 | | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
471 | 464 | | |
472 | 465 | | |
473 | 466 | | |
| |||
0 commit comments