Re: [PATCH v9 26/27] samples: add first Rust examples

From: Konstantin Shelekhin
Date: Sat Aug 06 2022 - 09:15:20 EST


> +impl Drop for RustMinimal {
> + fn drop(&mut self) {
> + pr_info!("My numbers are {:?}\n", self.numbers);
> + pr_info!("Rust minimal sample (exit)\n");
> + }
> +}

I wonder if it would make more sense to implement exit() in
kernel::Module, just for the sake of uniformity.