Commit d4dca5d
committed
rust: doctests: Mark generated rustdoc kunit tests extern "C"
The generated rustdoc tests were marked no_mangle, but not extern "C".
Since these are called from C by KUnit, they should use the C ABI.
Signed-off-by: David Gow <davidgow@google.com>1 parent 9c0096c commit d4dca5d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments