2022-11-09 02:52:59 -06:00
|
|
|
#![feature(decl_macro)]
|
2024-01-29 23:59:09 +01:00
|
|
|
#![feature(generic_nonzero)]
|
2022-12-12 00:42:45 -05:00
|
|
|
#![feature(lazy_cell)]
|
MCP636: Add simpler and more explicit syntax to check-cfg
This add a new form and deprecated the other ones:
- cfg(name1, ..., nameN, values("value1", "value2", ... "valueN"))
- cfg(name1, ..., nameN) or cfg(name1, ..., nameN, values())
- cfg(any())
It also changes the default exhaustiveness to be enable-by-default in
the presence of any --check-cfg arguments.
2023-05-01 14:17:56 +02:00
|
|
|
#![feature(let_chains)]
|
2024-01-10 17:13:03 +02:00
|
|
|
#![feature(thread_spawn_unchecked)]
|
2023-01-09 15:15:26 +00:00
|
|
|
#![feature(try_blocks)]
|
2018-12-08 20:30:23 +01:00
|
|
|
|
2022-08-31 13:09:26 +00:00
|
|
|
#[macro_use]
|
|
|
|
extern crate tracing;
|
|
|
|
|
2019-12-25 13:38:57 -05:00
|
|
|
mod callbacks;
|
2022-08-20 18:30:49 +02:00
|
|
|
mod errors;
|
2018-12-08 20:30:23 +01:00
|
|
|
pub mod interface;
|
|
|
|
mod passes;
|
|
|
|
mod proc_macro_decls;
|
|
|
|
mod queries;
|
2018-12-08 20:30:23 +01:00
|
|
|
pub mod util;
|
2018-12-08 20:30:23 +01:00
|
|
|
|
2021-06-25 13:03:39 +02:00
|
|
|
pub use callbacks::setup_callbacks;
|
2018-12-08 20:30:23 +01:00
|
|
|
pub use interface::{run_compiler, Config};
|
2023-09-22 16:38:31 +00:00
|
|
|
pub use passes::DEFAULT_QUERY_PROVIDERS;
|
2019-11-30 10:16:19 +01:00
|
|
|
pub use queries::Queries;
|
2019-10-11 23:48:16 +02:00
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
mod tests;
|
2022-10-13 10:13:02 +01:00
|
|
|
|
2023-11-22 09:53:07 +11:00
|
|
|
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
|