Skip to content
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

Fix formatting of multiline code blocks in asm-comments #3000

Merged
merged 1 commit into from
Jul 23, 2012
Merged

Fix formatting of multiline code blocks in asm-comments #3000

merged 1 commit into from
Jul 23, 2012

Conversation

dgryski
Copy link
Contributor

@dgryski dgryski commented Jul 23, 2012

When building with -S, the rust source code for each is included as a comment in an InlineAsm block. However, if the code block contains new-lines, the only the first line ends up being correctly commented and indented. This patch updates the comment sanitizing code to deal correctly with newlines.

catamorphism added a commit that referenced this pull request Jul 23, 2012
Fix formatting of multiline code blocks in asm-comments
@catamorphism catamorphism merged commit 4806a4f into rust-lang:incoming Jul 23, 2012
@catamorphism
Copy link
Contributor

Merged, thanks!

bors pushed a commit to rust-lang-ci/rust that referenced this pull request May 15, 2021
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Oct 6, 2023
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants