Camille GILLOT
1fb9cad50a
Use () for analysis.
2021-05-12 14:01:16 +02:00
Camille GILLOT
829a9d33a9
Use () for entry_fn.
2021-05-12 13:58:42 +02:00
Charles Lew
d261df4a72
Implement RFC 1260 with feature_name imported_main
.
2021-04-29 08:35:08 +08:00
Camille GILLOT
6bfaf3a9cb
Stream the dep-graph to a file.
2021-03-30 18:09:59 +02:00
Camille GILLOT
4581d16bcb
Move the query system to rustc_query_impl.
2021-02-19 17:51:58 +01:00
Camille GILLOT
0e9cac40a6
Make alloc_self_profile_query_strings a standalone function.
2021-02-19 17:51:55 +01:00
Camille GILLOT
5d71b99690
Make QueryEngine opaque to TyCtxt.
2021-02-19 17:51:54 +01:00
Joshua Nelson
ca72f9ed70
Calculate self-profile strings in Compiler::enter
instead in codegen
...
This avoids each tool having to separately find and call
`self_profile_alloc_strings`.
- Don't compute the global context if it hasn't yet been computed
This avoids giving extraneous errors about unresolved names if an error
occurs during parsing.
2021-01-23 11:42:15 -05:00
Vadim Petrochenkov
4d2d0bad4e
Remove compile-fail
test suite
2020-12-29 23:39:56 +03:00
Dylan DPC
98d80bda01
Rollup merge of #79662 - bjorn3:move_more_code_out_of_codegen_backend, r=oli-obk
...
Move some more code out of CodegenBackend::{codegen_crate,link}
Kind of a follow up to #77795
2020-12-28 14:12:59 +01:00
Joshua Nelson
9cd992f394
Add some intra-doc links to compiler docs
2020-12-22 09:54:23 -05:00
bjorn3
2c0dccb7f2
Move some code out of CodegenBackend::{codegen_crate,link}
2020-12-17 10:02:06 +01:00
Joshua Nelson
878cfb5a4a
Fix unknown-crate
when using self-profile with rustdoc
...
... by removing a duplicate `crate_name` field in `interface::Config`,
making it clear that rustdoc should be passing it to `config::Options`
instead.
2020-12-01 12:54:03 -05:00
Camille GILLOT
41c44b498f
Move Steal to rustc_data_structures.
2020-11-14 01:30:56 +01:00
bjorn3
69f26b7761
Use fixed type for CodegenResults
...
This also moves the -Zno-link implementation to rustc_interface
2020-10-10 16:18:36 +02:00
bjorn3
f141acf067
Move finalize_session_directory call out of cg_llvm
...
This causes it to be called even when passing `-Zno-link`, when linking
fails or when neither `--emit link` nor `--emit metadata` is used.
2020-10-10 15:20:35 +02:00
bjorn3
69f45cd965
Move save_work_product_index call out of cg_llvm
2020-10-10 15:14:58 +02:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00