Josh Stone
33c4125fbe
Rebase rustc-rayon on rayon-1.2
...
See also https://github.com/rust-lang/rustc-rayon/pull/3
2019-10-07 13:20:17 -07:00
Mazdak Farrokhzad
83dcdd99dd
Remove librustc_ast_borrowck from driver & interface.
2019-09-27 19:48:06 +02:00
Mark Rousskov
2fc32b9e72
Locate rustc binary similarly to codegen backend loading
...
This ensures that the failure cases for finding the codegen backend and
for finding the rustc binary are essentially the same, and since we
almost always will load the codegen backend, this is essentially meaning
that the rustc change is not a regression.
2019-09-10 16:57:14 -04:00
Simon Sapin
d0bbc6062d
Deprecate using rustc_plugin without the rustc_driver dylib.
...
CC https://github.com/rust-lang/rust/pull/59800
7198687bb2
Fix https://github.com/rust-lang/rust/issues/62717
2019-08-20 00:21:32 +02:00
Mazdak Farrokhzad
e1de70b045
Rollup merge of #62735 - petrochenkov:galloc, r=alexcrichton
...
Turn `#[global_allocator]` into a regular attribute macro
It was a 99% macro with exception of some diagnostic details.
As a result of the change, `#[global_allocator]` now works in nested modules and even in nameless blocks.
Fixes https://github.com/rust-lang/rust/issues/44113
Fixes https://github.com/rust-lang/rust/issues/58072
2019-07-25 23:21:00 +02:00
Vadim Petrochenkov
a93fdfedf3
Merge `rustc_allocator` into `libsyntax_ext`
2019-07-24 12:27:58 +03:00
Vadim Petrochenkov
614037171b
cleanup: Remove `extern crate serialize as rustc_serialize`s
2019-07-23 19:20:16 +03:00
Matthew Jasper
34ddc70c3f
Move rustc_borrowck -> rustc_ast_borrowck
2019-07-11 18:54:02 +01:00
Shotaro Yamada
b06ed52cfd
Remove unused dependencies
2019-07-09 00:17:42 +09:00
Alex Crichton
345ba505ec
rustc: Remove `dylib` crate type from most rustc crates
...
Now that procedural macros no longer link transitively to libsyntax,
this shouldn't be needed any more! This commit is an experiment in
removing all dynamic libraries from rustc except for librustc_driver
itself. Let's see how far we can get with that!
2019-07-07 03:23:00 +02:00
Nicholas Nethercote
38dffeba21
Move metadata writing earlier.
...
The commit moves metadata writing from `link_binary` to
`encode_metadata` (and renames the latter as
`encode_and_write_metadata`). This is at the very start of code
generation.
2019-05-01 17:17:13 +10:00
John Kåre Alsaker
0e05a9bb85
Update rustc-rayon version
2019-04-26 19:08:36 +02:00
Mazdak Farrokhzad
bf1068b137
librustc_interface => 2018; rename rustc-rayon to rayon in Cargo.toml
2019-03-27 09:48:50 +01:00
Mazdak Farrokhzad
14f3f6c712
librustc_interface => 2018
2019-03-27 09:41:42 +01:00
Igor Matuszewski
204f087daf
librustc_interface: Update scoped-tls to 1.0
...
Done previously as a part of
https://github.com/rust-lang/rust/pull/58748
2019-03-01 10:18:53 +01:00
John Kåre Alsaker
23a51f91c9
Introduce rustc_interface and move some methods there
2019-02-28 19:30:31 +01:00