본문으로 건너뛰기

Rust 1.34.0 Release Notes

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

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

범위

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

읽는 법

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

타임라인

Rust 1.34.0 (2019-04-11)

  • Language
    • You can now use #[deprecated = "reason"] as a shorthand for #[deprecated(note = "reason")]. This was previously allowed by mistake but had no effect.
    • You can now accept token streams in #[attr()],#[attr[]], and #[attr{}] procedural macros.
    • You can now write extern crate self as foo; to import your crate's root into the extern prelude.
  • Compiler
    • You can now target riscv64imac-unknown-none-elf and riscv64gc-unknown-none-elf.
    • You can now enable linker plugin LTO optimisations with -C linker-plugin-lto. This allows rustc to compile your Rust code into LLVM bitcode allowing LLVM to perform LTO optimisations across C/C++ FFI boundaries.
    • You can now target powerpc64-unknown-freebsd.
  • Libraries
    • The trait bounds have been removed on some of HashMap<K, V, S>'s and HashSet<T, S>'s basic methods. Most notably you no longer require the Hash trait to create an iterator.
    • The Ord trait bounds have been removed on some of BinaryHeap<T>'s basic methods. Most notably you no longer require the Ord trait to create an iterator.
    • The methods overflowing_neg and wrapping_neg are now const functions for all numeric types.
    • 그 외 3개 항목은 원문 참고
  • Stabilized APIs
    • Any::type_id
    • Error::type_id
    • atomic::AtomicI16
    • 그 외 27개 항목은 원문 참고
  • Cargo
    • You can now use alternative registries to crates.io.
  • Compatibility Notes
    • Command::before_exec is being replaced by the unsafe method Command::pre_exec and will be deprecated with Rust 1.37.0.
    • Use of ATOMIC_{BOOL, ISIZE, USIZE}_INIT is now deprecated as you can now use const functions in static variables.

Sources