bug.c 203 B

12345678910111213
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <linux/bug.h>
  3. __rust_helper __noreturn void rust_helper_BUG(void)
  4. {
  5. BUG();
  6. }
  7. __rust_helper bool rust_helper_WARN_ON(bool cond)
  8. {
  9. return WARN_ON(cond);
  10. }