[ragel-users] rust's static lifetime annotation breaks ragel
Nami WANG
namiheike at gmail.com
Sat Feb 23 02:34:54 UTC 2019
Hi, can't repro in the current master either, false alarm I guess.
Cheers
On Fri, Dec 14, 2018, 21:23 Adrian Thurston <thurston at colm.net> wrote:
> Hi Nami, yes not able to figure out this issue. Could you please provide a
> stripped-down example?
>
> Thanks,
> Adrian
>
> On 2018-12-06 04:45, Nami WANG wrote:
>
> Hi,
>
> I've got an embedded-with-rust ragel file which runs forever.
>
> After some digging, I narrowed down the issue and seems that the static
> lifetime annotations in rust are the problem.
>
> Apparently, codes like
>
>> fn some_fn() -> &'static str { "foo" }
>
> would cause an infinite-loop in ragel.
>
> I'd like to provide a case if you guys couldn't repro the issue.
>
> ref for static lifetimes in rust:
> https://doc.rust-lang.org/book/second-edition/ch10-03-lifetime-syntax.html#the-static-lifetime
>
> Thanks!
>
> --
> Best regards,
>
> Nami WANG
> namiheike at gmail.com
>
> _______________________________________________
> ragel-users mailing listragel-users at colm.nethttp://www.colm.net/cgi-bin/mailman/listinfo/ragel-users
>
> _______________________________________________
> ragel-users mailing list
> ragel-users at colm.net
> http://www.colm.net/cgi-bin/mailman/listinfo/ragel-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20190223/ba660514/attachment.html>
More information about the ragel-users
mailing list