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
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
For further actions, you may consider blocking this person and/or reporting abuse
Take off every Zig!