getargv / getargv-sys

Rust bindings to libgetargv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

investigate if structs with pointers should be nocopy #5

Closed CamJN closed 1 year ago

CamJN commented 1 year ago

https://rust-lang.github.io/rust-bindgen/nocopy.html

CamJN commented 1 year ago

yes, because if they were copy, then they'd double free the pointers.