update cfg(bootstrap)s
This commit is contained in:
parent
970e603006
commit
5b3462c556
16 changed files with 55 additions and 112 deletions
|
@ -204,7 +204,6 @@ fn cmp_default() {
|
|||
assert_eq!(Fool(false), Fool(true));
|
||||
}
|
||||
|
||||
#[cfg(not(bootstrap))]
|
||||
mod const_cmp {
|
||||
use super::*;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue