generated.rs 816 B

1234567891011121314151617181920212223242526272829303132
  1. #![feature(compiler_builtins_lib)]
  2. #![feature(lang_items)]
  3. #![allow(bad_style)]
  4. #![allow(unused_imports)]
  5. #![no_std]
  6. extern crate compiler_builtins as builtins;
  7. #[cfg(all(target_arch = "arm",
  8. not(any(target_env = "gnu", target_env = "musl")),
  9. target_os = "linux",
  10. test))]
  11. extern crate utest_cortex_m_qemu;
  12. #[cfg(all(target_arch = "arm",
  13. not(any(target_env = "gnu", target_env = "musl")),
  14. target_os = "linux",
  15. test))]
  16. #[macro_use]
  17. extern crate utest_macros;
  18. #[cfg(all(target_arch = "arm",
  19. not(any(target_env = "gnu", target_env = "musl")),
  20. target_os = "linux",
  21. test))]
  22. macro_rules! panic { // overrides `panic!`
  23. ($($tt:tt)*) => {
  24. upanic!($($tt)*);
  25. };
  26. }
  27. include!(concat!(env!("OUT_DIR"), "/generated.rs"));