In src/compiler/c.rs
|| (&slice[1..5] == b"line "))
should be
|| (&slice[1..6] == b"line "))
I think that this is a off-by-one bug.
It's my understanding in rust that the last value is exclusive in the range, and therefore we are comparing if <4-bytes> == <5-bytes> which will never trigger.
This is smacking Tasking Compiler. Not sure on which others
Originally posted by @Joldiges in #1882
In
src/compiler/c.rs|| (&slice[1..5] == b"line "))should be
|| (&slice[1..6] == b"line "))Originally posted by @Joldiges in #1882