Skip to content

Pretty-printer doesn't preserve blank lines #842

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

Closed
brson opened this issue Aug 19, 2011 · 1 comment
Closed

Pretty-printer doesn't preserve blank lines #842

brson opened this issue Aug 19, 2011 · 1 comment
Labels
A-pretty Area: Pretty printing (including `-Z unpretty`)

Comments

@brson
Copy link
Contributor

brson commented Aug 19, 2011

I think it used to but it must have broke. The following turns into a wall of code:

         let cfilename = cinfo.ident;
         let cdata = cinfo.data;

         // Claim this crate number and cache it
         let cnum = e.next_crate_num;
         e.crate_cache.insert(ident, cnum);
         e.next_crate_num += 1;

         // Now resolve the crates referenced by this crate
         let cnum_map = resolve_crate_deps(e, cdata);

         let cmeta = {name: ident, data: cdata, cnum_map: cnum_map};
@brson
Copy link
Contributor Author

brson commented Aug 19, 2011

Fixt

@brson brson closed this as completed Aug 19, 2011
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Add dl_iterate_phdr and related types

A lot of this is more broadly supported than just Linux, but support for
those can be added later.

r? @alexcrichton
bors pushed a commit to rust-lang-ci/rust that referenced this issue Oct 26, 2020
Codegen simd intrinsics as simd clif instructions
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
coastalwhite pushed a commit to coastalwhite/rust that referenced this issue Aug 5, 2023
…rust-lang#842)

* re-stabilize the AVX-512 features that were stabilized in Rust 1.27.0

rust-lang/stdarch#739 added per-feature
stabilization of runtime CPU feature detection. In so doing, it
de-stabilized some detection features that had been stable since Rust
1.27.0, breaking some published crates (on nightly). This commit
re-stabilizes the subset of AVX-512 detection features that were
included in 1.27.0 (that is, the pre-Ice-Lake subset). Other instruction
sets (MMX in particular) remain de-stabilized, pending a decision about
whether should ever stabilize them.

See rust-lang#68905.

* add a comment explaining feature detection stability

* adjust stabilizations to match most recent proposal

rust-lang#68905 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-pretty Area: Pretty printing (including `-Z unpretty`)
Projects
None yet
Development

No branches or pull requests

1 participant