Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/rust/helpers/bug.c
29266 views
1
// SPDX-License-Identifier: GPL-2.0
2
3
#include <linux/bug.h>
4
5
__noreturn void rust_helper_BUG(void)
6
{
7
BUG();
8
}
9
10
bool rust_helper_WARN_ON(bool cond)
11
{
12
return WARN_ON(cond);
13
}
14
15