ITADN

Time to enable the prepare(d) code at line 1906?

#1198Opendamachine 创建于 2026-04-20
D
damachinecommented
Hi guys, hope you're good! Just a heads up, no stress! I noticed that you guys have been preparing everything for a while here: https://github.com/Frogging-Family/linux-tkg/blob/f373eb1cba72262cfe2270e6f7b031b0043f6173/linux-tkg-config/prepare#L1906 Maybe now's the right time to do it. I've commented it out and tested it, and it seems to work. In my opinion, to avoid affecting older versions, the code should be enclosed in an `if (( _kver >= 601 )); then ... fi` block (or better yet, 700). I'm not entirely sure about the flags, but to my knowledge the -Z flag is only a nightly rust flag. Perhaps we could also consider something like this: ``` # [Advanced] Extra flags to pass to the Rust compiler (rustc) KRUSTFLAGS="" ``` I know there are hardly any use cases for this yet, but I believe the change is definitely long-living and not a quick thing. <3
3 条评论