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 withManuallyDrop<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, }
- Unions can now implement
- 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개 항목은 원문 참고
- Added tier 1* support for
- Libraries
RangeInclusivenow checks for exhaustion when callingcontainsand indexing.ToString::to_stringnow no longer shrinks the internal buffer in the default implementation.
- Stabilized APIs
slice::select_nth_unstableslice::select_nth_unstable_byslice::select_nth_unstable_by_key- 그 외 2개 항목은 원문 참고
- Cargo
- Building a crate with
cargo-packageshould now be independently reproducible. cargo-treenow marks proc-macro crates.- Added
CARGO_PRIMARY_PACKAGEbuild-time environment variable. This variable will be set if the crate being built is one the user selected to build, either with-por through defaults. - 그 외 1개 항목은 원문 참고
- Building a crate with
- Compatibility Notes
- Demoted
i686-unknown-freebsdfrom 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개 항목은 원문 참고
- Demoted
Sources
- Rust release notes — official rust-lang/rust release notes.