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

Tracking issue for rustfmt bugs affecting CXX #527

Open
dtolnay opened this issue Nov 29, 2020 · 0 comments
Open

Tracking issue for rustfmt bugs affecting CXX #527

dtolnay opened this issue Nov 29, 2020 · 0 comments
Assignees

Comments

@dtolnay
Copy link
Owner

dtolnay commented Nov 29, 2020

  1. Fails with "invalid ABI" on extern "C++" block — Allow arbitrary extern ABI rust-lang/rustfmt#4086
  2. Replaces any extern "C++" block with extern "Rust"Allow arbitrary extern ABI rust-lang/rustfmt#4086 (comment)
  3. Deletes rhs from extern type declaration — Rustfmt destroys extern types that have generics or rhs rust-lang/rustfmt#4159
  4. Fails on input containing unsafe extern or unsafe mod
  5. Deletes unsafe keyword on extern fn signatures (among other things) — Async gets removed from extern blocks. rust-lang/rustfmt#4288
@dtolnay dtolnay self-assigned this Nov 29, 2020
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

No branches or pull requests

1 participant