Rust 1.48.0 Release Notes
// RUST-RELEASE-NOTES— official release note timeline
Rust 1.48.0 공식 release note를 기준으로, 섹션별 앞쪽 항목을 발췌해 변화 흐름을 빠르게 훑을 수 있게 정리했습니다.
범위
- 대상 릴리즈: Rust 1.48.0
- 포함된 릴리즈 수: 1개
- 생성 경로:
scripts/bloggen.py rust-release-docs - 생성일:
2026-07-08 - 원문: rust-lang/rust RELEASES.md
읽는 법
- 이 문서는 해당 Rust 릴리즈 하나만 다룹니다.
- 섹션별 최대 3개 앞쪽 항목만 발췌했으므로, 세부 API 목록은 원문 링크를 확인하세요.
- Compatibility Notes는 업그레이드 전 회귀 위험을 확인하는 체크리스트로 보면 됩니다.
타임라인
Rust 1.48.0 (2020-11-19)
- Language
- The
unsafekeyword is now syntactically permitted on modules. This is still rejected semantically, but can now be parsed by procedural macros.
- The
- Compiler
- Stabilised the
-C link-self-contained=<yes|no>compiler flag. This tellsrustcwhether to link its own C runtime and libraries or to rely on a external linker to find them. (Supported only onwindows-gnu,linux-musl, andwasiplatforms.) - You can now use
-C target-feature=+crt-staticonlinux-gnutargets. Note: If you're using cargo you must explicitly pass the--targetflag. - Added tier 2* support for
aarch64-unknown-linux-musl.
- Stabilised the
- Libraries
io::Writeis now implemented for&ChildStdin&Sink,&Stdout, and&Stderr.- All arrays of any length now implement
TryFrom<Vec<T>>. - The
matches!macro now supports having a trailing comma. - 그 외 2개 항목은 원문 참고
- Stabilized APIs
slice::as_ptr_rangeslice::as_mut_ptr_rangeVecDeque::make_contiguous- 그 외 10개 항목은 원문 참고
- Rustdoc
- You can now link to items in
rustdocusing the intra-doc link syntax. E.g./// Uses [`std::future`]will automatically generate a link tostd::future's documentation. See "Linking to items by name" for more information. - You can now specify
#[doc(alias = "<alias>")]on items to add search aliases when searching throughrustdoc's UI.
- You can now link to items in
- Compatibility Notes
- Promotion of references to
'staticlifetime insideconst fnnow follows the same rules as inside afnbody. In particular,&foo()will not be promoted to'staticlifetime any more insideconst fns. - Associated type bindings on trait objects are now verified to meet the bounds declared on the trait when checking that they implement the trait.
- When trait bounds on associated types or opaque types are ambiguous, the compiler no longer makes an arbitrary choice on which bound to use.
- 그 외 7개 항목은 원문 참고
- Promotion of references to
Sources
- Rust release notes — official rust-lang/rust release notes.