2022-11-09 08:52:59 +00:00
|
|
|
#![feature(decl_macro)]
|
2022-12-12 05:42:45 +00: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 12:17:56 +00:00
|
|
|
#![feature(let_chains)]
|
2024-01-10 15:13:03 +00:00
|
|
|
#![feature(thread_spawn_unchecked)]
|
2023-01-09 15:15:26 +00:00
|
|
|
#![feature(try_blocks)]
|
2018-12-08 19:30:23 +00:00
|
|
|
|
2022-08-31 13:09:26 +00:00
|
|
|
#[macro_use]
|
|
|
|
extern crate tracing;
|
|
|
|
|
2019-12-25 18:38:57 +00:00
|
|
|
mod callbacks;
|
2022-08-20 16:30:49 +00:00
|
|
|
mod errors;
|
2018-12-08 19:30:23 +00:00
|
|
|
pub mod interface;
|
|
|
|
mod passes;
|
|
|
|
mod proc_macro_decls;
|
|
|
|
mod queries;
|
2018-12-08 19:30:23 +00:00
|
|
|
pub mod util;
|
2018-12-08 19:30:23 +00:00
|
|
|
|
2021-06-25 11:03:39 +00:00
|
|
|
pub use callbacks::setup_callbacks;
|
2018-12-08 19:30:23 +00:00
|
|
|
pub use interface::{run_compiler, Config};
|
2023-09-22 16:38:31 +00:00
|
|
|
pub use passes::DEFAULT_QUERY_PROVIDERS;
|
2019-11-30 09:16:19 +00:00
|
|
|
pub use queries::Queries;
|
2019-10-11 21:48:16 +00:00
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
mod tests;
|
2022-10-13 09:13:02 +00:00
|
|
|
|
2023-11-21 22:53:07 +00:00
|
|
|
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
|