Re: [PATCH RFC] drm/msm: move VM_BIND op validation to Rust

From: Alice Ryhl

Date: Thu Oct 29 2026 - 05:49:25 EST


On Mon, Oct 26, 2026 at 12:40:02PM +0100, Konrad Dybcio wrote:
> +#[no_mangle]

If you use the #[export] macro instead, then it has the same effect
as #[no_mangle], but it verifies at build-time that the signature
matches what's in the header file.

See for comparison:
drivers/gpu/drm/drm_panic_helper_qr.rs

Alice