Commit adaf6df
wenhaozhao
fix bench-kernel module compile error with rustc 1.77.0-nightly (62d7ed4a6 2024-01-11)
mutable reference of mutable static is discouraged
for more information, see issue #114447 <rust-lang/rust#114447>
reference of mutable static is a hard error from 2024 edition1 parent 9b81037 commit adaf6df
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments