Looks nice, but in this case pub static Dev0: Dev isn't getting optimised away, adding bytes to the binary; that's not an acceptable tradeoff. Any other ideas?
On Sun, Apr 13, 2014 at 9:22 PM, György Andrasek <jur...@gmail.com> wrote: > You could make a container struct: > > struct Dev { > ptr: *mut InternalDev > } > > and then impl your methods on that. > -- Sincerely, Vladimir "Farcaller" Pouzanov http://farcaller.net/
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev