Skip to main content

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 const values for x in [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.
  • Compiler
    • Added tier 3* support for the armv5te-unknown-linux-uclibceabi target.
    • Added tier 3 support for the aarch64-apple-ios-macabi target.
    • The x86_64-unknown-freebsd is now built with the full toolset.
    • 그 외 1개 항목은 원문 참고
  • Libraries
    • proc_macro::Punct now implements PartialEq<char>.
    • ops::{Index, IndexMut} are now implemented for fixed sized arrays of any length.
    • On Unix platforms, the std::fs::File type now has a "niche" of -1. This value cannot be a valid file descriptor, and now means Option<File> takes up the same amount of space as File.
  • Stabilized APIs
    • bool::then
    • btree_map::Entry::or_insert_with_key
    • f32::clamp
    • 그 외 34개 항목은 원문 참고
  • Cargo
    • Added the [build.rustc-workspace-wrapper] option. This option sets a wrapper to execute instead of rustc, for workspace members only.
    • cargo:rerun-if-changed will now, if provided a directory, scan the entire contents of that directory for changes.
    • Added the --workspace flag to the cargo update command.
  • Compatibility Notes
    • The compare_and_swap method on atomics has been deprecated. It's recommended to use the compare_exchange and compare_exchange_weak methods instead.
    • Changes in how TokenStreams are checked have fixed some cases where you could write unhygenic macro_rules! macros.
    • #![test] as an inner attribute is now considered unstable like other inner macro attributes, and reports an error by default through the soft_unstable lint.
    • 그 외 3개 항목은 원문 참고

Sources