Skip to main content

Rust 1.81.0 Release Notes

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

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

범위

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

읽는 법

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

타임라인

Rust 1.81.0 (2024-09-05)

  • Language
    • Abort on uncaught panics in extern "C" functions. — source
    • Fix ambiguous cases of multiple & in elided self lifetimes. — source
    • Stabilize #[expect] for lints (RFC 2383), like #[allow] with a warning if the lint is not fulfilled. — source
    • 그 외 6개 항목은 원문 참고
  • Compiler
    • Make casts of pointers to trait objects stricter. — source
    • Check alias args for well-formedness even if they have escaping bound vars. — source
    • Deprecate no-op codegen option -Cinline-threshold=.... — source
    • 그 외 6개 항목은 원문 참고
  • Libraries
    • Split core's PanicInfo and std's PanicInfo. (see compatibility note below) — source
    • Generalize {Rc,Arc}::make_mut() to unsized types. — source
    • Replace sort implementations with stable driftsort and unstable ipnsort. All slice::sort* and slice::select_nth* methods are expected to see significant performance improvements. See the research project for more details. — source
    • 그 외 3개 항목은 원문 참고
  • Stabilized APIs
    • core::errorsource
    • hint::assert_uncheckedsource
    • fs::existssource
    • 그 외 13개 항목은 원문 참고
  • Cargo
    • Generated .cargo_vcs_info.json is always included, even when --allow-dirty is passed. — source
    • Disallow package.license-file and package.readme pointing to non-existent files during packaging. — source
    • Disallow passing --release/--debug flag along with the --profile flag. — source
    • 그 외 1개 항목은 원문 참고
  • Compatibility Notes
    • Usage of the wasm32-wasi target will now issue a compiler warning and request users switch to the wasm32-wasip1 target instead. Both targets are the same, wasm32-wasi is only being renamed, and this change to the WASI target is being done to enable removing wasm32-wasi in January 2025 — source
    • We have renamed std::panic::PanicInfo to std::panic::PanicHookInfo. The old name will continue to work as an alias, but will result in a deprecation warning starting in Rust 1.82.0.
    • The new sort implementations may panic if a type's implementation of Ord (or the given comparison function) does not implement a total order as the trait requires. Ord's supertraits (PartialOrd, Eq, and PartialEq) must also be consistent. The previous implementations would not "notice" any problem, but the new implementations have a good chance of… — source
    • 그 외 1개 항목은 원문 참고

Sources