Ralf Jung
93ee180cfa
ABI-required target features: warn when they are missing in base CPU (rather than silently enabling them)
2025-01-28 04:40:42 +01:00
Nicholas Nethercote
84ac80f192
Reformat use
declarations.
...
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
2024-07-29 08:26:52 +10:00
John Kåre Alsaker
12cd322062
Make incremental sessions identity no longer depend on the crate names provided by source code
2024-03-13 16:40:02 +01:00
Jing Peng
9b1a1e1d95
Write to stdout if -
is given as output file
...
If `-o -` or `--emit KIND=-` is provided, output will be written
to stdout instead. Binary output (`obj`, `llvm-bc`, `link` and
`metadata`) being written this way will result in an error unless
stdout is not a tty. Multiple output types going to stdout will
trigger an error too, as they will all be mixded together.
2023-06-06 17:53:29 -04:00
Oli Scherer
5965948ba1
Remove a back compat warning
2023-02-22 19:39:03 +00:00
David Wood
2575b1abc9
session: diagnostic migration lint on more fns
...
Apply the diagnostic migration lint to more functions on `Session`.
Signed-off-by: David Wood <david.wood@huawei.com>
2023-01-30 17:11:35 +00:00
Lukas Wirth
549ece7033
Warn when using panic-strategy abort for proc-macro crates
2023-01-13 10:13:49 +01:00
Nilstrieb
c65ebae221
Migrate all diagnostics
2022-10-23 10:09:44 +02:00
Jhonny Bill Mena
a3396b2070
UPDATE - rename DiagnosticHandler macro to Diagnostic
2022-09-21 11:39:53 -04:00
Jhonny Bill Mena
19b348fed4
UPDATE - rename DiagnosticHandler trait to IntoDiagnostic
2022-09-21 11:39:52 -04:00
Giacomo Stevanato
645de5b825
Remove use of DiagnosticArgFromDisplay
2022-08-22 20:09:18 +02:00
Giacomo Stevanato
b411adec2a
Move rustc_interface diagnostics to struct SessionDiagnostic derives
2022-08-22 13:22:00 +02:00
Giacomo Stevanato
e4403ae9ff
Move existing diagnostic struct to a new errors module
2022-08-22 13:17:36 +02:00