update cfg(bootstrap)
This commit is contained in:
parent
2b7c13e778
commit
2ce08ca5d6
73 changed files with 216 additions and 452 deletions
|
|
@ -3675,7 +3675,7 @@ macro_rules! int_impl {
|
|||
/// ```
|
||||
#[stable(feature = "int_to_from_bytes", since = "1.32.0")]
|
||||
#[rustc_const_stable(feature = "const_int_conversion", since = "1.44.0")]
|
||||
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
|
||||
#[allow(unnecessary_transmutes)]
|
||||
// SAFETY: const sound because integers are plain old datatypes so we can always
|
||||
// transmute them to arrays of bytes
|
||||
#[must_use = "this returns the result of the operation, \
|
||||
|
|
@ -3779,7 +3779,7 @@ macro_rules! int_impl {
|
|||
/// ```
|
||||
#[stable(feature = "int_to_from_bytes", since = "1.32.0")]
|
||||
#[rustc_const_stable(feature = "const_int_conversion", since = "1.44.0")]
|
||||
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
|
||||
#[allow(unnecessary_transmutes)]
|
||||
#[must_use]
|
||||
// SAFETY: const sound because integers are plain old datatypes so we can always
|
||||
// transmute to them
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue