본문으로 건너뛰기

Rust 1.28.0 Release Notes

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

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

범위

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

읽는 법

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

타임라인

Rust 1.28.0 (2018-08-02)

  • Language
    • The #[repr(transparent)] attribute is now stable. This attribute allows a Rust newtype wrapper (struct NewType<T>(T);) to be represented as the inner type across Foreign Function Interface (FFI) boundaries.
    • The keywords pure, sizeof, alignof, and offsetof have been unreserved and can now be used as identifiers.
    • The GlobalAlloc trait and #[global_allocator] attribute are now stable. This will allow users to specify a global allocator for their program.
    • 그 외 2개 항목은 원문 참고
  • Compiler
    • The s and z optimisation levels are now stable. These optimisations prioritise making smaller binary sizes. z is the same as s with the exception that it does not vectorise loops, which typically results in an even smaller binary.
    • The short error format is now stable. Specified with --error-format=short this option will provide a more compressed output of rust error messages.
    • Added a lint warning when you have duplicated macro_exports.
    • 그 외 1개 항목은 원문 참고
  • Libraries
    • Implemented Default for &mut str.
    • Implemented From<bool> for all integer and unsigned number types.
    • Implemented Extend for ().
    • 그 외 5개 항목은 원문 참고
  • Stabilized APIs
    • Iterator::step_by
    • Path::ancestors
    • SystemTime::UNIX_EPOCH
    • 그 외 26개 항목은 원문 참고
  • Cargo
    • Cargo will now no longer allow you to publish crates with build scripts that modify the src directory. The src directory in a crate should be considered to be immutable.
  • Compatibility Notes
    • Rust will consider trait objects with duplicated constraints to be the same type as without the duplicated constraint. For example the below code will now fail to compile. trait Trait {}

Sources