Skip to content

Pretty-printer improvements#298

Closed
marijnh wants to merge 5 commits intorust-lang:masterfrom
marijnh:pp-comments
Closed

Pretty-printer improvements#298
marijnh wants to merge 5 commits intorust-lang:masterfrom
marijnh:pp-comments

Conversation

@marijnh
Copy link
Copy Markdown
Contributor

@marijnh marijnh commented Mar 29, 2011

Pretty-printed stuff now tends to compile (though there's this issue with @mutable not parsing, so I haven't tried compiling a fully pretty-printed rustc). It also usually looks quite okay, except that line overflows in nested 'horizontal' blocks are handled pretty poorly and tend to result in hideous right-margin-hugging messes. I'll look further into that at some point in the future.

@marijnh
Copy link
Copy Markdown
Contributor Author

marijnh commented Mar 30, 2011

I guess you didn't merge this yet because it causes a failure. I've re-xfailed the offending test. That was supposed to be in the commits before, but somehow got lost.

(How is a compile-fail test supposed to fail, anyway?)

marijnh added 5 commits March 31, 2011 12:07
The patch also includes a number of smaller fixes to the
pretty-printer that were encountered on the way.
Still not used, except by the pretty-printer.
This involved making ast.variant spanned.
@marijnh
Copy link
Copy Markdown
Contributor Author

marijnh commented Mar 31, 2011

Updated again to fix conflict with other patch.

@graydon
Copy link
Copy Markdown
Contributor

graydon commented Mar 31, 2011

Integrated. Sorry for the delay.

@graydon graydon closed this Mar 31, 2011
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
…xcrichton

linux: Support getting and setting the cpu affinity for the current pthread.

This implements `pthread_getaffinity_np` and `pthread_setaffinity_np` for linux.
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this pull request Mar 7, 2023
noscripter pushed a commit to noscripter/rust that referenced this pull request Sep 8, 2025
rust-bors Bot pushed a commit that referenced this pull request Apr 30, 2026
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