generated.rs 780 B

1234567891011121314151617181920212223242526272829303132333435363738
  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(
  8. target_arch = "arm",
  9. not(any(target_env = "gnu", target_env = "musl")),
  10. target_os = "linux",
  11. test
  12. ))]
  13. extern crate utest_cortex_m_qemu;
  14. #[cfg(all(
  15. target_arch = "arm",
  16. not(any(target_env = "gnu", target_env = "musl")),
  17. target_os = "linux",
  18. test
  19. ))]
  20. #[macro_use]
  21. extern crate utest_macros;
  22. #[cfg(all(
  23. target_arch = "arm",
  24. not(any(target_env = "gnu", target_env = "musl")),
  25. target_os = "linux",
  26. test
  27. ))]
  28. macro_rules! panic { // overrides `panic!`
  29. ($($tt:tt)*) => {
  30. upanic!($($tt)*);
  31. };
  32. }
  33. include!(concat!(env!("OUT_DIR"), "/generated.rs"));