News for hackers. Stuff that matters.
Re:The end of the kernel Rust experiment by tomnipotent on Wednesday December 10, 2025 @03:50AM (#46215537)
That's a library feature (not intended for release builds), not a language feature.
Re:The end of the kernel Rust experiment by weebull on Wednesday December 10, 2025 @08:22AM (#46217393)
It is intended for release builds. The ReleaseSafe target will keep the checks. ReleaseFast and ReleaseSmall will remove the checks, but those aren't the recommended release modes for general software. Only for when performance or size are critical.
Re:The end of the kernel Rust experiment by tomnipotent on Wednesday December 10, 2025 @12:51PM (#46220936)
DebugAllocator essentially becomes a no-op wrapper when you use those targets.