Files
RedBear-OS/src
jD91mZM2 ea24699798 Fix undefined behavior
Transmuting from an immutable to a mutable reference is undefined
behavior in Rust, with the exception of UnsafeCell which tells the
optimizer to not draw too many conclusions. Sadly UnsafeCell::get cannot
yet be used in statics (see https://github.com/rust-lang/rust/issues/51718),
so this works around that by making the statics into functions and
making C macros to call those.
2018-06-22 21:17:44 +02:00
..
2018-06-21 17:16:56 +02:00
2018-03-08 18:25:11 -06:00
2018-03-08 05:26:40 +00:00
2018-03-13 23:27:32 +00:00
2018-03-13 23:27:32 +00:00
2018-06-22 15:02:34 +02:00
2018-06-21 17:16:56 +02:00
2018-03-25 14:40:44 -04:00
2018-06-22 21:17:44 +02:00
2018-06-20 09:53:27 -06:00
2018-04-04 22:52:06 +02:00
2018-05-11 22:01:51 -07:00
2018-03-04 07:33:38 -08:00
2018-06-22 21:17:44 +02:00
2018-03-08 16:03:45 +00:00
2018-06-22 14:54:10 +02:00