diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-05-08 18:48:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-08 18:48:33 +0200 |
| commit | 827ec49c233f6d0182c83a6123cc3fa639220da2 (patch) | |
| tree | 8bfde566d305049b907775c161502e30584ae41e /src/test/codegen/integer-overflow.rs | |
| parent | b750ee496426d626a17e22f07c7c260b4e31a4c5 (diff) | |
| parent | 0d60c46faa638ab8ceb543765d39269f4402c4a0 (diff) | |
| download | rust-827ec49c233f6d0182c83a6123cc3fa639220da2.tar.gz rust-827ec49c233f6d0182c83a6123cc3fa639220da2.zip | |
Rollup merge of #72017 - ctaggart:wasm2, r=ecstatic-morse
Work around ICEs during cross-compilation for target, ast, & attr
This applies the fix for #72003 to work around #56935 to three more libraries. With these additional fixes, I'm able to use rustfmt_lib from wasm (https://github.com/rust-lang/rustfmt/issues/4132#issuecomment-616587989), which was my goal.
To get it working locally and to test, I copied the `.cargo/registry/src` and applied the fix and replaced the reference in my project:
``` toml
[replace]
"rustc-ap-rustc_span:656.0.0" = { path = "../rustc-ap-rustc_span" }
"rustc-ap-rustc_target:656.0.0" = { path = "../rustc-ap-rustc_target" }
"rustc-ap-rustc_ast:656.0.0" = { path = "../rustc-ap-rustc_ast" }
"rustc-ap-rustc_attr:656.0.0" = { path = "../rustc-ap-rustc_attr" }
```
Diffstat (limited to 'src/test/codegen/integer-overflow.rs')
0 files changed, 0 insertions, 0 deletions
