Very useful! Since you're using ++ in both examples, can you explain how they differ? Does the stage2 compiler require ++ use within an explicit comptime block for the result to be comptime?
++ in the first example returns a pointer-to-temporary, whereas the second example returns a comptime known value that is guaranteed to put into the .rodata section and has a lifetime of the whole program life time
For further actions, you may consider blocking this person and/or reporting abuse
Very useful! Since you're using ++ in both examples, can you explain how they differ? Does the stage2 compiler require ++ use within an explicit comptime block for the result to be comptime?
++
in the first example returns a pointer-to-temporary, whereas the second example returns acomptime
known value that is guaranteed to put into the.rodata
section and has a lifetime of the whole program life time