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, andoffsetofhave been unreserved and can now be used as identifiers. - The
GlobalAlloctrait and#[global_allocator]attribute are now stable. This will allow users to specify a global allocator for their program. - 그 외 2개 항목은 원문 참고
- The
- Compiler
- The
sandzoptimisation levels are now stable. These optimisations prioritise making smaller binary sizes.zis the same asswith 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=shortthis option will provide a more compressed output of rust error messages. - Added a lint warning when you have duplicated
macro_exports. - 그 외 1개 항목은 원문 참고
- The
- Libraries
- Implemented
Defaultfor&mut str. - Implemented
From<bool>for all integer and unsigned number types. - Implemented
Extendfor(). - 그 외 5개 항목은 원문 참고
- Implemented
- Stabilized APIs
Iterator::step_byPath::ancestorsSystemTime::UNIX_EPOCH- 그 외 26개 항목은 원문 참고
- Cargo
- Cargo will now no longer allow you to publish crates with build scripts that modify the
srcdirectory. Thesrcdirectory in a crate should be considered to be immutable.
- Cargo will now no longer allow you to publish crates with build scripts that modify the
- 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
- Rust release notes — official rust-lang/rust release notes.