mirror of
https://gitee.com/openharmony/third_party_rust_memoffset
synced 2024-11-23 07:10:22 +00:00
Remove #![feature(const_maybe_uninit_as_ptr)]
It's now stable in nightly.
This commit is contained in:
parent
b14262b1b3
commit
4c71bed98d
@ -61,5 +61,5 @@ features = ["unstable_const"]
|
|||||||
|
|
||||||
Your crate root: (`lib.rs`/`main.rs`)
|
Your crate root: (`lib.rs`/`main.rs`)
|
||||||
```rust,ignore
|
```rust,ignore
|
||||||
#![feature(const_ptr_offset_from, const_maybe_uninit_as_ptr, const_raw_ptr_deref, const_refs_to_cell)]
|
#![feature(const_ptr_offset_from, const_raw_ptr_deref, const_refs_to_cell)]
|
||||||
```
|
```
|
||||||
|
@ -58,12 +58,7 @@
|
|||||||
#![no_std]
|
#![no_std]
|
||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "unstable_const",
|
feature = "unstable_const",
|
||||||
feature(
|
feature(const_ptr_offset_from, const_raw_ptr_deref, const_refs_to_cell)
|
||||||
const_ptr_offset_from,
|
|
||||||
const_maybe_uninit_as_ptr,
|
|
||||||
const_raw_ptr_deref,
|
|
||||||
const_refs_to_cell,
|
|
||||||
)
|
|
||||||
)]
|
)]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
Loading…
Reference in New Issue
Block a user