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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux