I am happy to report that after wiz@ enabled cwrappers on NetBSD rust compiles all the way through:
fn main() {
println!("Hello, world!");
}
➜ hello_world ./main
Hello, world!
➜ hello_world # uname -a
NetBSD nbsdc.lorien.lan 7.99.41 NetBSD 7.99.41 (GENERIC) #58: Thu Oct 27 11:07:04 UTC 2016 sysbuild%nbsdc.lorien.lan@localhost:/home/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC amd64
------
'make package' or 'make install' fails - I run the process as root via sudo, it tries to use the original account to overwrite or create a few files and fails (one can change the permissions of the files and folders and continue the process or get rid of the $SUDO lines in the make file.