-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
global_asm expands arguments in comments #85944
Comments
Until raw string closed, all content interpreted as string, so that not a comments inside, but raw string. Or i misunderstand something. |
I ran into this because my global_asm!{} typically includes a .S file (with |
Perhaps #84107, try may-11 nightly. |
May 11th nightly works (does not produce the error)
|
That pr get merged
2021-05-11, not 2020 ) |
Ups -- sorry about that, I guess I'm still stuck in 2020! works:
does not work:
|
$ git log 6d395a1..1025db8 --author=bors --oneline So i guess i picked that one pr @Amanieu |
#84107 changed The current workaround is to escape |
Thanks the explanation. This isn't a problem for me in practice and looks like it's intentional after all, feel free to close this. |
Closing as works-as-intended. However, I can reopen this issue if you'd like to pursue a potential
|
|
I tried this code:
I expected to see this happen: Compiles without error (on nightly)
Instead, this happened (not sure if this is intended behavior or a bug):
The text was updated successfully, but these errors were encountered: