1
Fork 0

update cfg(bootstrap)s

This commit is contained in:
Pietro Albini 2022-01-14 09:50:49 +01:00
parent 970e603006
commit 5b3462c556
No known key found for this signature in database
GPG key ID: CD76B35F7734769E
16 changed files with 55 additions and 112 deletions

View file

@ -204,7 +204,6 @@ fn cmp_default() {
assert_eq!(Fool(false), Fool(true));
}
#[cfg(not(bootstrap))]
mod const_cmp {
use super::*;

View file

@ -37,7 +37,6 @@ fn test_assume_can_be_in_const_contexts() {
}
#[test]
#[cfg(not(bootstrap))]
const fn test_write_bytes_in_const_contexts() {
use core::intrinsics::write_bytes;

View file

@ -251,7 +251,6 @@ fn test_set_memory() {
}
#[test]
#[cfg(not(bootstrap))]
fn test_set_memory_const() {
const XS: [u8; 20] = {
let mut xs = [0u8; 20];