Skip to content
Snippets Groups Projects
  1. Jan 11, 2024
  2. Jul 15, 2020
  3. Jul 18, 2019
  4. Apr 27, 2019
  5. Dec 09, 2018
  6. Oct 28, 2018
  7. Sep 29, 2018
  8. Sep 26, 2018
  9. Aug 18, 2018
  10. Jul 25, 2018
  11. Jun 24, 2018
  12. Jun 22, 2018
    • jD91mZM2's avatar
      Fix undefined behavior · ea246997
      jD91mZM2 authored
      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.
      Verified
      ea246997
  13. Jun 21, 2018
  14. Jun 20, 2018
  15. Mar 28, 2018
  16. Mar 10, 2018
  17. Mar 04, 2018
  18. Mar 03, 2018
Loading