본문으로 건너뛰기

Rust 1.49.0 Release Notes

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

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

범위

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

읽는 법

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

타임라인

Rust 1.49.0 (2020-12-31)

  • 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, }
  • 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.
    • 그 외 4개 항목은 원문 참고
  • 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.
  • Stabilized APIs
    • slice::select_nth_unstable
    • slice::select_nth_unstable_by
    • slice::select_nth_unstable_by_key
    • 그 외 2개 항목은 원문 참고
  • 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.
    • 그 외 1개 항목은 원문 참고
  • 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.
    • 그 외 2개 항목은 원문 참고

Sources