How bad would it be to add another 64 bits to the "some data to go along
with it" part? I'm assuming 32 bit for file name index in some table and 32
bit for the line number in the file should be enough :-)


On Fri, Nov 8, 2013 at 8:48 AM, Daniel Micay <[email protected]> wrote:

> On Fri, Nov 8, 2013 at 1:45 AM, Oren Ben-Kiki <[email protected]> wrote:
>
>> Good to know! The GDB stack traces leave something to be desired, though
>> - e.g. the way it reports closures isn't really very useful (adding source
>> file name and line number would be really good there). But it is certainly
>> better than nothing. Thanks!
>>
>
> Rust only has boxed (type erased) closures so there's no source data to
> associate with them. They're a function pointer and some data to go along
> with it.
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to