generated.rs 745 B

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