Skip to content

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