mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-21 23:26:11 -04:00
ac8b11810f
Implement `core::ptr::Unique` on top of `NonNull` Removes the use `rustc_layout_scalar_valid_range_start` and some `unsafe` blocks.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.