본문으로 건너뛰기

Rust 1.86.0 Release Notes

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

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

범위

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

읽는 법

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

타임라인

Rust 1.86.0 (2025-04-03)

  • Language
    • Stabilize upcasting trait objects to supertraits. — source
    • Allow safe functions to be marked with the #[target_feature] attribute. — source
    • The missing_abi lint now warns-by-default. — source
    • 그 외 4개 항목은 원문 참고
  • Compiler
    • Debug-assert that raw pointers are non-null on access. — source
    • Change -O to mean -C opt-level=3 instead of -C opt-level=2 to match Cargo's defaults. — source
    • Fix emission of overflowing_literals under certain macro environments. — source
  • Libraries
    • The type of FromBytesWithNulError in CStr::from_bytes_with_nul(bytes: &[u8]) -> Result<&Self, FromBytesWithNulError> was changed from an opaque struct to an enum, allowing users to examine why the conversion failed — source
    • Remove RustcDecodable and RustcEncodable. — source
    • Deprecate libtest's --logfile option. — source
    • 그 외 1개 항목은 원문 참고
  • Stabilized APIs
    • {float}::next_downsource
    • {float}::next_upsource
    • <[_]>::get_disjoint_mutsource
    • 그 외 17개 항목은 원문 참고
  • Cargo
    • When merging, replace rather than combine configuration keys that refer to a program path and its arguments. — source
    • Error if both --package and --workspace are passed but the requested package is missing. This was previously silently ignored, which was considered a bug since missing packages should be reported. — source
    • Deprecate the token argument in cargo login to avoid shell history leaks. — source
    • 그 외 1개 항목은 원문 참고
  • Rustdoc
    • Add a sans-serif font setting. — source

Sources