Replace fake "restricted-std" Cargo feature by custom cfg

This commit is contained in:
Urgau
2024-05-23 15:30:46 +02:00
parent 324b66c553
commit a59589b1cc
3 changed files with 5 additions and 3 deletions

View File

@@ -213,9 +213,9 @@
//! [array]: prim@array
//! [slice]: prim@slice
#![cfg_attr(not(feature = "restricted-std"), stable(feature = "rust1", since = "1.0.0"))]
#![cfg_attr(not(restricted_std), stable(feature = "rust1", since = "1.0.0"))]
#![cfg_attr(
feature = "restricted-std",
restricted_std,
unstable(
feature = "restricted_std",
issue = "none",