Rust 1.50.0 Release Notes
// RUST-RELEASE-NOTES— official release note timeline
Rust 1.50.0 공식 release note를 기준으로, 섹션별 앞쪽 항목을 발췌해 변화 흐름을 빠르게 훑을 수 있게 정리했습니다.
범위
- 대상 릴리즈: Rust 1.50.0
- 포함된 릴리즈 수: 1개
- 생성 경로:
scripts/bloggen.py rust-release-docs - 생성일:
2026-07-08 - 원문: rust-lang/rust RELEASES.md
읽는 법
- 이 문서는 해당 Rust 릴리즈 하나만 다룹니다.
- 섹션별 최대 3개 앞쪽 항목만 발췌했으므로, 세부 API 목록은 원문 링크를 확인하세요.
- Compatibility Notes는 업그레이드 전 회귀 위험을 확인하는 체크리스트로 보면 됩니다.
타임라인
Rust 1.50.0 (2021-02-11)
- Language
- You can now use
constvalues forxin[x; N]array expressions. This has been technically possible since 1.38.0, as it was unintentionally stabilized. - Assignments to
ManuallyDrop<T>union fields are now considered safe.
- You can now use
- Compiler
- Added tier 3* support for the
armv5te-unknown-linux-uclibceabitarget. - Added tier 3 support for the
aarch64-apple-ios-macabitarget. - The
x86_64-unknown-freebsdis now built with the full toolset. - 그 외 1개 항목은 원문 참고
- Added tier 3* support for the
- Libraries
proc_macro::Punctnow implementsPartialEq<char>.ops::{Index, IndexMut}are now implemented for fixed sized arrays of any length.- On Unix platforms, the
std::fs::Filetype now has a "niche" of-1. This value cannot be a valid file descriptor, and now meansOption<File>takes up the same amount of space asFile.
- Stabilized APIs
bool::thenbtree_map::Entry::or_insert_with_keyf32::clamp- 그 외 34개 항목은 원문 참고
- Cargo
- Added the
[build.rustc-workspace-wrapper]option. This option sets a wrapper to execute instead ofrustc, for workspace members only. cargo:rerun-if-changedwill now, if provided a directory, scan the entire contents of that directory for changes.- Added the
--workspaceflag to thecargo updatecommand.
- Added the
- Compatibility Notes
- The
compare_and_swapmethod on atomics has been deprecated. It's recommended to use thecompare_exchangeandcompare_exchange_weakmethods instead. - Changes in how
TokenStreams are checked have fixed some cases where you could write unhygenicmacro_rules!macros. #![test]as an inner attribute is now considered unstable like other inner macro attributes, and reports an error by default through thesoft_unstablelint.- 그 외 3개 항목은 원문 참고
- The
Sources
- Rust release notes — official rust-lang/rust release notes.