Commit 571a9e0
committed
rust: build_error: export
Export the `rust_build_error` symbol so that kernel modules can
take advantage of the `build_error!` and `build_assert!` macros.
Otherwise, kernel modules would fail to compile if there is a call
under `RUST_BUILD_ASSERT_{ALLOW,WARN}`.
Fixes: b8b9cab ("Implement build-time error and assertion")
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>rust_build_error
1 parent d805877 commit 571a9e0
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments