Rust 1.80.0 Release Notes
// RUST-RELEASE-NOTES — official release note timeline
Rust 1.80.0 공식 release note를 기준으로, 섹션별 앞쪽 항목을 발췌해 변화 흐름을 빠르게 훑을 수 있게 정리했습니다.
읽는 법
- 이 문서는 해당 Rust 릴리즈 하나만 다룹니다.
- 섹션별 최대 3개 앞쪽 항목만 발췌했으므로, 세부 API 목록은 원문 링크를 확인하세요.
- Compatibility Notes는 업그레이드 전 회귀 위험을 확인하는 체크리스트로 보면 됩니다.
타임라인
Rust 1.80.0 (2024-07-25)
- Language
- Document maximum allocation size — source
- Allow zero-byte offsets and ZST read/writes on arbitrary pointers — source
- Support C23's variadics without a named parameter — source
- 그 외 2개 항목은 원문 참고
- Compiler
- Update cc crate to v1.0.97 allowing additional spectre mitigations on MSVC targets — source
- Allow field reordering on types marked
repr(packed(1)) — source
- Add a lint against never type fallback affecting unsafe code — source
- 그 외 8개 항목은 원문 참고
- Libraries
- Add
size_of and size_of_val and align_of and align_of_val to the prelude — source
- Abort a process when FD ownership is violated — source
- io::Write::write_fmt: panic if the formatter fails when the stream does not fail — source
- 그 외 6개 항목은 원문 참고
- Stabilized APIs
impl Default for Rc<CStr> — source
impl Default for Rc<str> — source
impl Default for Rc<[T]> — source
- 그 외 57개 항목은 원문 참고
- Cargo
- Stabilize
-Zcheck-cfg as always enabled — source
- Warn, rather than fail publish, if a target is excluded — source
- Add special
check-cfg lint config for the unexpected_cfgs lint — source
- 그 외 3개 항목은 원문 참고
- Rustdoc
- Allow searching for references — source
- Stabilize
custom_code_classes_in_docs feature — source
- fix: In cross-crate scenarios show enum variants on type aliases of enums — source
Sources