Thread (95 messages) 95 messages, 15 authors, 2022-10-03

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

From: Konstantin Shelekhin <hidden>
Date: 2022-08-06 13:15:10
Also in: linux-fsdevel, linux-patches, lkml

+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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help