Rust 1.26.0 Release Notes
// RUST-RELEASE-NOTES— official release note timeline
Rust 1.26.0 공식 release note를 기준으로, 섹션별 앞쪽 항목을 발췌해 변화 흐름을 빠르게 훑을 수 있게 정리했습니다.
범위
- 대상 릴리즈: Rust 1.26.0
- 포함된 릴리즈 수: 1개
- 생성 경로:
scripts/bloggen.py rust-release-docs - 생성일:
2026-07-08 - 원문: rust-lang/rust RELEASES.md
읽는 법
- 이 문서는 해당 Rust 릴리즈 하나만 다룹니다.
- 섹션별 최대 3개 앞쪽 항목만 발췌했으므로, 세부 API 목록은 원문 링크를 확인하세요.
- Compatibility Notes는 업그레이드 전 회귀 위험을 확인하는 체크리스트로 보면 됩니다.
타임라인
Rust 1.26.0 (2018-05-10)
- Language
- Closures now implement
Copyand/orCloneif all captured variables implement either or both traits. - The inclusive range syntax e.g.
for x in 0..=10is now stable. - The
'_lifetime is now stable. The underscore lifetime can be used anywhere a lifetime can be elided. - 그 외 6개 항목은 원문 참고
- Closures now implement
- Compiler
- LLD is now used as the default linker for
wasm32-unknown-unknown. - Fixed exponential projection complexity on nested types. This can provide up to a ~12% reduction in compile times for certain crates.
- Added the
--remap-path-prefixoption to rustc. Allowing you to remap path prefixes outputted by the compiler. - 그 외 1개 항목은 원문 참고
- LLD is now used as the default linker for
- Libraries
- Implemented
From<u16> for usize&From<{u8, i16}> for isize. - Added hexadecimal formatting for integers with fmt::Debug e.g.
assert!(format!("{:02x?}", b"Foo\0") == "[46, 6f, 6f, 00]") - Implemented
Default, Hashforcmp::Reverse. - 그 외 5개 항목은 원문 참고
- Implemented
- Stabilized APIs
*const T::add*const T::copy_to_nonoverlapping*const T::copy_to- 그 외 37개 항목은 원문 참고
- Cargo
- Cargo will now output path to custom commands when
-vis passed with--list - The Cargo binary version is now the same as the Rust version
- Cargo will now output path to custom commands when
- Compatibility Notes
- aliasing a
Fntrait asdynno longer works. E.g. the following syntax is now invalid. use std::ops::Fn as dyn; fn g(_: Box<dyn(std::fmt::Debug)>) {} - The result of dereferences are no longer promoted to
'static. e.g. fn main() { const PAIR: &(i32, i32) = &(0, 1); let _reversed_pair: &'static _ = &(PAIR.1, PAIR.0); // Doesn't work } - Deprecate
AsciiExttrait in favor of inherent methods. - 그 외 3개 항목은 원문 참고
- aliasing a
Sources
- Rust release notes — official rust-lang/rust release notes.