☰
Debian Codegraph
@
7.2.8-1
7.2.7-1
7.2.6-1
7.1.9-1
7.1.4-1
7.0.9-1
7.0.12-2
/
/
rust
/
helpers
/
bug.c
☽
☼
rust/helpers/bug.c
code
plain
raw
GPL-2
1991-2012 Linus Torvalds and many others
debian/copyright
1
// SPDX-License-Identifier: GPL-2.0
2
3
#include <linux/bug.h>
4
5
__rust_helper __noreturn void rust_helper_BUG(void)
6
{
7
BUG();
8
}
9
10
__rust_helper bool rust_helper_WARN_ON(bool cond)
11
{
12
return WARN_ON(cond);
13
}