On Wed, Oct 30, 2013 at 05:02:24PM +0000, Sanghyeon Seo wrote: > src/librustc/middle/trans/callee.rs line 614 says: > > In particular, for lang items, it is invoked with a dest of > None, and > > Did we lose the comment or was it always an incomplete comment? > And what (in particular) is about lang items?
Ah, that's my fault. I wrote a complete version of that comment at some point, but I guess it's on some now abandoned branch. I'll have to go find it. My basic recollection is that the lang items makes use of the return value, whereas other fns expect a destination pointer to be passed in, but you'll have to read the code to see. Niko _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
