Rust 1.37.0 Release Notes
// RUST-RELEASE-NOTES— official release note timeline
Rust 1.37.0 공식 release note를 기준으로, 섹션별 앞쪽 항목을 발췌해 변화 흐름을 빠르게 훑을 수 있게 정리했습니다.
범위
- 대상 릴리즈: Rust 1.37.0
- 포함된 릴리즈 수: 1개
- 생성 경로:
scripts/bloggen.py rust-release-docs - 생성일:
2026-07-08 - 원문: rust-lang/rust RELEASES.md
읽는 법
- 이 문서는 해당 Rust 릴리즈 하나만 다룹니다.
- 섹션별 최대 3개 앞쪽 항목만 발췌했으므로, 세부 API 목록은 원문 링크를 확인하세요.
- Compatibility Notes는 업그레이드 전 회귀 위험을 확인하는 체크리스트로 보면 됩니다.
타임라인
Rust 1.37.0 (2019-08-15)
- Language
#[must_use]will now warn if the type is contained in a tuple,Box, or an array and unused.- You can now use the
cfgandcfg_attrattributes on generic parameters. - You can now use enum variants through type alias. e.g. You can write the following: type MyOption = Option<u8>;
- 그 외 3개 항목은 원문 참고
- Compiler
- You can now enable Profile-Guided Optimization with the
-C profile-generateand-C profile-useflags. For more information on how to use profile guided optimization, please refer to the rustc book. - The
rust-lldbwrapper script should now work again.
- You can now enable Profile-Guided Optimization with the
- Libraries
mem::MaybeUninit<T>is now ABI-compatible withT.
- Stabilized APIs
BufReader::bufferBufWriter::bufferCell::from_mut- 그 외 17개 항목은 원문 참고
- Cargo
Cargo.lockfiles are now included by default when publishing executable crates with executables.- You can now specify
default-run="foo"in[package]to specify the default executable to use forcargo run.
- Compatibility Notes
- Using
...for inclusive range patterns will now warn by default. Please transition your code to using the..=syntax for inclusive ranges instead. - Using a trait object without the
dynwill now warn by default. Please transition your code to usedyn Traitfor trait objects instead.
- Using
Sources
- Rust release notes — official rust-lang/rust release notes.