Skip to main content

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 unsafe keyword is now syntactically permitted on modules. This is still rejected semantically, but can now be parsed by procedural macros.
  • Compiler
    • Stabilised the -C link-self-contained=<yes|no> compiler flag. This tells rustc whether to link its own C runtime and libraries or to rely on a external linker to find them. (Supported only on windows-gnu, linux-musl, and wasi platforms.)
    • You can now use -C target-feature=+crt-static on linux-gnu targets. Note: If you're using cargo you must explicitly pass the --target flag.
    • Added tier 2* support for aarch64-unknown-linux-musl.
  • Libraries
    • io::Write is 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_range
    • slice::as_mut_ptr_range
    • VecDeque::make_contiguous
    • 그 외 10개 항목은 원문 참고
  • Rustdoc
    • You can now link to items in rustdoc using the intra-doc link syntax. E.g. /// Uses [`std::future`] will automatically generate a link to std::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 through rustdoc's UI.
  • Compatibility Notes
    • Promotion of references to 'static lifetime inside const fn now follows the same rules as inside a fn body. In particular, &foo() will not be promoted to 'static lifetime any more inside const 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개 항목은 원문 참고

Sources