Commit Graph

17 Commits

Author SHA1 Message Date
Luca Barbieri 45ede927fb Depend on libc from crates.io 2020-04-11 11:07:04 -04:00
bjorn3 6638b86702 Remove unused feature gates from librustc_interface 2020-02-07 13:58:57 +01:00
Mark Rousskov b98633b94c Store callbacks in global statics
The callbacks have precisely two states: the default, and the one
present throughout almost all of the rustc run (the filled in value
which has access to TyCtxt).

We used to store this as a thread local, and reset it on each thread to
the non-default value. But this is somewhat wasteful, since there is no
reason to set it globally -- while the callbacks themselves access TLS,
they do not do so in a manner that fails in when we do not have TLS to
work with.
2019-12-25 14:10:46 -05:00
Mark Rousskov a06baa56b9 Format the world 2019-12-22 17:42:47 -05:00
varkor e3a8ea4e18 Use to_option in various places 2019-12-06 12:23:23 +00:00
Ralf Jung 7f20198632 pass Queries to compiler callbacks 2019-11-30 10:16:19 +01:00
Mazdak Farrokhzad d945f9860f move parse_cfgspecs to rustc_interface 2019-10-19 13:25:46 +02:00
Mark Rousskov e85089b63a Remove -Zprofile-queries 2019-10-03 21:34:27 -04:00
Vadim Petrochenkov 676d282dd3 Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
Vadim Petrochenkov 434152157f Remove lint annotations in specific crates that are already enforced by rustbuild
Remove some random unnecessary lint `allow`s
2019-07-28 18:46:24 +03:00
flip1995 084c829fb8 Enable internal lints in bootstrap 2019-06-24 10:45:20 +02:00
Eduard-Mihai Burtescu 630ec8880c Add deny(unused_lifetimes) to all the crates that have deny(internal). 2019-06-11 14:11:59 +03:00
Mateusz Mikuła 87e4b43d51 Deny internal in stage0 2019-04-17 05:15:00 +02:00
flip1995 818d300451 Deny internal lints on librustc_interface 2019-04-03 18:24:21 +02:00
Mazdak Farrokhzad 14f3f6c712 librustc_interface => 2018 2019-03-27 09:41:42 +01:00
John Kåre Alsaker 51938c61f6 Make the rustc driver and interface demand driven 2019-03-10 04:49:45 +01:00
John Kåre Alsaker 23a51f91c9 Introduce rustc_interface and move some methods there 2019-02-28 19:30:31 +01:00