-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
LLVM abort with indexing of byte string literal in static #17233
Comments
Also stumbled upon this. A workaround is using the bytes macro: |
Current rust gives an error
|
Ah, thanks. It looks like this is still a problem after changing the |
Still seeing this, but |
This seems to be related to |
This works fine now. This issue may be closed. |
Closed by #22838 (which even included a test :-) ) |
Changing the
b"1"
to e.g.&[1]
works fine.The text was updated successfully, but these errors were encountered: