본문으로 건너뛰기

Rust 1.62.0 Release Notes

// RUST-RELEASE-NOTES — official release note timeline

Rust 1.62.0 공식 release note를 기준으로, 섹션별 앞쪽 항목을 발췌해 변화 흐름을 빠르게 훑을 수 있게 정리했습니다.

범위

  • 대상 릴리즈: Rust 1.62.0
  • 포함된 릴리즈 수: 1개
  • 생성 경로: scripts/bloggen.py rust-release-docs
  • 생성일: 2026-07-08
  • 원문: rust-lang/rust RELEASES.md

읽는 법

  • 이 문서는 해당 Rust 릴리즈 하나만 다룹니다.
  • 섹션별 최대 3개 앞쪽 항목만 발췌했으므로, 세부 API 목록은 원문 링크를 확인하세요.
  • Compatibility Notes는 업그레이드 전 회귀 위험을 확인하는 체크리스트로 보면 됩니다.

타임라인

Rust 1.62.0 (2022-06-30)

  • Language
    • Stabilize #[derive(Default)] on enums with a #[default] variant
    • Teach flow sensitive checks that visibly uninhabited call expressions never return
    • Fix constants not getting dropped if part of a diverging expression
    • 그 외 3개 항목은 원문 참고
  • Compiler
    • linker: Stop using whole-archive on dependencies of dylibs
    • Make unaligned_references lint deny-by-default This lint is also a future compatibility lint, and is expected to eventually become a hard error.
    • Only add codegen backend to dep info if -Zbinary-dep-depinfo is used
    • 그 외 4개 항목은 원문 참고
  • Libraries
    • Windows: Use a pipe relay for chaining pipes
    • Replace Linux Mutex and Condvar with futex based ones.
    • Replace RwLock by a futex based one on Linux
    • 그 외 1개 항목은 원문 참고
  • Stabilized APIs
    • bool::then_some
    • f32::total_cmp
    • f64::total_cmp
    • 그 외 7개 항목은 원문 참고
  • Cargo
    • Added the cargo add command for adding dependencies to Cargo.toml from the command-line. docs — source
    • Package ID specs now support name@version syntax in addition to the previous name:version to align with the behavior in cargo add and other tools. cargo install and cargo yank also now support this syntax so the version does not need to passed as a separate flag.
    • The git and registry directories in Cargo's home directory (usually ~/.cargo) are now marked as cache directories so that they are not included in backups or content indexing (on Windows).
    • 그 외 1개 항목은 원문 참고
  • Compatibility Notes
    • cargo test now passes --target to rustdoc if the specified target is the same as the host target. #10594 — source
    • rustdoc: doctests are now run on unexported macro_rules! macros, matching other private items
    • rustdoc: Remove .woff font files
    • 그 외 2개 항목은 원문 참고

Sources