Commit 1fca108
committed
rust: update to version 1.74.1.
Pkgsrc changes:
* Remove NetBSD-8 support (embedded LLVm requires newer C++
than what is in -8; it's conceivable that this could still
build with an external LLVM)
* undo powerpc 9.0 file naming tweak, since we no longer support -8.
* Remove patch to LLVM for powerpc now included by upstream.
* Minor adjustments, checksum changes etc.
Upstream changes:
Version 1.74.1 (2023-12-07)
===========================
- [Resolved spurious STATUS_ACCESS_VIOLATIONs in LLVM]
(rust-lang/rust#118464)
- [Clarify guarantees for std::mem::discriminant]
(rust-lang/rust#118006)
- [Fix some subtyping-related regressions]
(rust-lang/rust#116415)
Version 1.74.0 (2023-11-16)
==========================
Language
--------
- [Codify that `std::mem::Discriminant<T>` does not depend on any
lifetimes in T]
(rust-lang/rust#104299)
- [Replace `private_in_public` lint with `private_interfaces` and
`private_bounds` per RFC 2145]
(rust-lang/rust#113126)
Read more in
[RFC 2145](https://rust-lang.github.io/rfcs/2145-type-privacy.html).
- [Allow explicit `#[repr(Rust)]`]
(rust-lang/rust#114201)
- [closure field capturing: don't depend on alignment of packed fields]
(rust-lang/rust#115315)
- [Enable MIR-based drop-tracking for `async` blocks]
(rust-lang/rust#107421)
Compiler
--------
- [stabilize combining +bundle and +whole-archive link modifiers]
(rust-lang/rust#113301)
- [Stabilize `PATH` option for `--print KIND=PATH`]
(rust-lang/rust#114183)
- [Enable ASAN/LSAN/TSAN for `*-apple-ios-macabi`]
(rust-lang/rust#115644)
- [Promote loongarch64-unknown-none* to Tier 2]
(rust-lang/rust#115368)
- [Add `i686-pc-windows-gnullvm` as a tier 3 target]
(rust-lang/rust#115687)
Libraries
---------
- [Implement `From<OwnedFd/Handle>` for ChildStdin/out/err]
(rust-lang/rust#98704)
- [Implement `From<{&,&mut} [T; N]>` for `Vec<T>` where `T: Clone`]
(rust-lang/rust#111278)
- [impl Step for IP addresses]
(rust-lang/rust#113748)
- [Implement `From<[T; N]>` for `Rc<[T]>` and `Arc<[T]>`]
(rust-lang/rust#114041)
- [`impl TryFrom<char> for u16`]
(rust-lang/rust#114065)
- [Stabilize `io_error_other` feature]
(rust-lang/rust#115453)
- [Stabilize the `Saturating` type]
(rust-lang/rust#115477)
- [Stabilize const_transmute_copy]
(rust-lang/rust#115520)
Stabilized APIs
---------------
- [`core::num::Saturating`]
(https://doc.rust-lang.org/stable/std/num/struct.Saturating.html)
- [`impl From<io::Stdout> for std::process::Stdio`]
(https://doc.rust-lang.org/stable/std/process/struct.Stdio.html#impl-From%3CStdout%3E-for-Stdio)
- [`impl From<io::Stderr> for std::process::Stdio`]
(https://doc.rust-lang.org/stable/std/process/struct.Stdio.html#impl-From%3CStderr%3E-for-Stdio)
- [`impl From<OwnedHandle> for std::process::Child{Stdin, Stdout, Stderr}`]
(https://doc.rust-lang.org/stable/std/process/struct.Stdio.html#impl-From%3CStderr%3E-for-Stdio)
- [`impl From<OwnedFd> for std::process::Child{Stdin, Stdout, Stderr}`]
(https://doc.rust-lang.org/stable/std/process/struct.Stdio.html#impl-From%3CStderr%3E-for-Stdio)
- [`std::ffi::OsString::from_encoded_bytes_unchecked`]
(https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.from_encoded_bytes_unchecked)
- [`std::ffi::OsString::into_encoded_bytes`]
(https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.into_encoded_bytes)
- [`std::ffi::OsStr::from_encoded_bytes_unchecked`]
(https://doc.rust-lang.org/stable/std/ffi/struct.OsStr.html#method.from_encoded_bytes_unchecked)
- [`std::ffi::OsStr::as_encoded_bytes`]
(https://doc.rust-lang.org/stable/std/ffi/struct.OsStr.html#method.as_encoded_bytes)
- [`std::io::Error::other`]
(https://doc.rust-lang.org/stable/std/io/struct.Error.html#method.other)
- [`impl TryFrom<char> for u16`]
(https://doc.rust-lang.org/stable/std/primitive.u16.html#impl-TryFrom%3Cchar%3E-for-u16)
- [`impl<T: Clone, const N: usize> From<&[T; N]> for Vec<T>`]
(https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#impl-From%3C%26%5BT;+N%5D%3E-for-Vec%3CT,+Global%3E)
- [`impl<T: Clone, const N: usize> From<&mut [T; N]> for Vec<T>`]
(https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#impl-From%3C%26mut+%5BT;+N%5D%3E-for-Vec%3CT,+Global%3E)
- [`impl<T, const N: usize> From<[T; N]> for Arc<[T]>`]
(https://doc.rust-lang.org/stable/std/sync/struct.Arc.html#impl-From%3C%5BT;+N%5D%3E-for-Arc%3C%5BT%5D,+Global%3E)
- [`impl<T, const N: usize> From<[T; N]> for Rc<[T]>`]
(https://doc.rust-lang.org/stable/std/rc/struct.Rc.html#impl-From%3C%5BT;+N%5D%3E-for-Rc%3C%5BT%5D,+Global%3E)
These APIs are now stable in const contexts:
- [`core::mem::transmute_copy`]
(https://doc.rust-lang.org/beta/std/mem/fn.transmute_copy.html)
- [`str::is_ascii`]
(https://doc.rust-lang.org/beta/std/primitive.str.html#method.is_ascii)
- [`[u8]::is_ascii`]
(https://doc.rust-lang.org/beta/std/primitive.slice.html#method.is_ascii)
Cargo
-----
- [fix: Set MSRV for internal packages]
(rust-lang/cargo#12381)
- [config: merge lists in precedence order]
(rust-lang/cargo#12515)
- [fix(update): Clarify meaning of --aggressive as --recursive]
(rust-lang/cargo#12544)
- [fix(update): Make `-p` more convenient by being positional]
(rust-lang/cargo#12545)
- [feat(help): Add styling to help output ]
(rust-lang/cargo#12578)
- [feat(pkgid): Allow incomplete versions when unambigious]
(rust-lang/cargo#12614)
- [feat: stabilize credential-process and registry-auth]
(rust-lang/cargo#12649)
- [feat(cli): Add '-n' to dry-run]
(rust-lang/cargo#12660)
- [Add support for `target.'cfg(..)'.linker`]
(rust-lang/cargo#12535)
- [Stabilize `--keep-going`]
(rust-lang/cargo#12568)
- [feat: Stabilize lints]
(rust-lang/cargo#12648)
Rustdoc
-------
- [Add warning block support in rustdoc]
(rust-lang/rust#106561)
- [Accept additional user-defined syntax classes in fenced code blocks]
(rust-lang/rust#110800)
- [rustdoc-search: add support for type parameters]
(rust-lang/rust#112725)
- [rustdoc: show inner enum and struct in type definition for concrete type]
(rust-lang/rust#114855)
Compatibility Notes
-------------------
- [Raise minimum supported Apple OS versions]
(rust-lang/rust#104385)
- [make Cell::swap panic if the Cells partially overlap]
(rust-lang/rust#114795)
- [Reject invalid crate names in `--extern`]
(rust-lang/rust#116001)
- [Don't resolve generic impls that may be shadowed by dyn built-in impls]
(rust-lang/rust#114941)
Internal 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.
None this cycle.1 parent 66bf06a commit 1fca108
File tree
12 files changed
+223
-229
lines changed- lang/rust
- patches
12 files changed
+223
-229
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
80 | 86 | | |
81 | | - | |
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
| |||
153 | 158 | | |
154 | 159 | | |
155 | 160 | | |
156 | | - | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
| |||
214 | 218 | | |
215 | 219 | | |
216 | 220 | | |
217 | | - | |
| 221 | + | |
218 | 222 | | |
219 | 223 | | |
220 | 224 | | |
221 | 225 | | |
222 | 226 | | |
223 | 227 | | |
224 | | - | |
| 228 | + | |
225 | 229 | | |
226 | 230 | | |
227 | 231 | | |
228 | 232 | | |
229 | 233 | | |
230 | 234 | | |
231 | | - | |
| 235 | + | |
232 | 236 | | |
233 | 237 | | |
234 | 238 | | |
235 | 239 | | |
236 | 240 | | |
237 | 241 | | |
238 | | - | |
| 242 | + | |
239 | 243 | | |
240 | 244 | | |
241 | 245 | | |
242 | 246 | | |
243 | 247 | | |
244 | 248 | | |
245 | | - | |
| 249 | + | |
246 | 250 | | |
247 | 251 | | |
248 | 252 | | |
249 | 253 | | |
250 | 254 | | |
251 | 255 | | |
252 | | - | |
| 256 | + | |
253 | 257 | | |
254 | 258 | | |
255 | 259 | | |
256 | 260 | | |
257 | 261 | | |
258 | 262 | | |
259 | | - | |
| 263 | + | |
260 | 264 | | |
261 | 265 | | |
262 | 266 | | |
| |||
268 | 272 | | |
269 | 273 | | |
270 | 274 | | |
271 | | - | |
| 275 | + | |
272 | 276 | | |
273 | 277 | | |
274 | 278 | | |
| |||
281 | 285 | | |
282 | 286 | | |
283 | 287 | | |
284 | | - | |
| 288 | + | |
285 | 289 | | |
286 | 290 | | |
287 | 291 | | |
288 | 292 | | |
289 | 293 | | |
290 | 294 | | |
291 | | - | |
| 295 | + | |
292 | 296 | | |
293 | 297 | | |
294 | 298 | | |
| |||
308 | 312 | | |
309 | 313 | | |
310 | 314 | | |
311 | | - | |
| 315 | + | |
312 | 316 | | |
313 | 317 | | |
314 | 318 | | |
315 | 319 | | |
316 | 320 | | |
317 | 321 | | |
318 | | - | |
319 | | - | |
| 322 | + | |
| 323 | + | |
320 | 324 | | |
321 | 325 | | |
322 | | - | |
323 | | - | |
324 | | - | |
| 326 | + | |
| 327 | + | |
325 | 328 | | |
326 | 329 | | |
327 | 330 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | 331 | | |
339 | 332 | | |
340 | 333 | | |
341 | | - | |
| 334 | + | |
342 | 335 | | |
343 | 336 | | |
344 | 337 | | |
| |||
347 | 340 | | |
348 | 341 | | |
349 | 342 | | |
350 | | - | |
| 343 | + | |
351 | 344 | | |
352 | 345 | | |
353 | 346 | | |
| |||
356 | 349 | | |
357 | 350 | | |
358 | 351 | | |
359 | | - | |
| 352 | + | |
360 | 353 | | |
361 | 354 | | |
362 | 355 | | |
| |||
366 | 359 | | |
367 | 360 | | |
368 | 361 | | |
369 | | - | |
| 362 | + | |
370 | 363 | | |
371 | 364 | | |
372 | 365 | | |
| |||
375 | 368 | | |
376 | 369 | | |
377 | 370 | | |
378 | | - | |
| 371 | + | |
379 | 372 | | |
380 | 373 | | |
381 | 374 | | |
| |||
384 | 377 | | |
385 | 378 | | |
386 | 379 | | |
387 | | - | |
| 380 | + | |
388 | 381 | | |
389 | 382 | | |
390 | 383 | | |
| |||
393 | 386 | | |
394 | 387 | | |
395 | 388 | | |
396 | | - | |
| 389 | + | |
397 | 390 | | |
398 | 391 | | |
399 | 392 | | |
| |||
445 | 438 | | |
446 | 439 | | |
447 | 440 | | |
| 441 | + | |
| 442 | + | |
448 | 443 | | |
449 | 444 | | |
450 | 445 | | |
| |||
483 | 478 | | |
484 | 479 | | |
485 | 480 | | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
490 | 485 | | |
491 | 486 | | |
492 | 487 | | |
| |||
0 commit comments