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

Konstantin Shelekhin
2022-08-06T13:15:15Z

> +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.