about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-04-05 16:20:23 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-04-05 16:20:23 +0000
commitf91bd7882f311a86cf8005af00f55dc55c744c73 (patch)
treec0e3e6fbd204db38d5b76559891d520d4e0cf4a8 /example
parent6728f2fef4286d7060feb7667b5da9ef3f512e34 (diff)
Merge commit 'fbda869b4e230c788b6bce426038ba8419956f2d' into sync_cg_clif-2024-04-05
Diffstat (limited to 'example')
-rw-r--r--example/mini_core.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/mini_core.rs b/example/mini_core.rs
index 1cee5131907..e45c16ee280 100644
--- a/example/mini_core.rs
+++ b/example/mini_core.rs
@@ -90,8 +90,9 @@ unsafe impl Sync for i16 {}
 unsafe impl Sync for i32 {}
 unsafe impl Sync for isize {}
 unsafe impl Sync for char {}
+unsafe impl Sync for f32 {}
 unsafe impl<'a, T: ?Sized> Sync for &'a T {}
-unsafe impl Sync for [u8; 16] {}
+unsafe impl<T: Sync, const N: usize> Sync for [T; N] {}
 
 #[lang = "freeze"]
 unsafe auto trait Freeze {}
@@ -467,7 +468,6 @@ pub fn panic(_msg: &'static str) -> ! {
 
 macro_rules! panic_const {
     ($($lang:ident = $message:expr,)+) => {
-        #[cfg(not(bootstrap))]
         pub mod panic_const {
             use super::*;