Commit Graph

11 Commits

Author SHA1 Message Date
Zalathar 84ff44c749 Add perma-unstable --print=backend-has-zstd for use by compiletest
Tests for `-Zdebuginfo-compression=zstd` need to be skipped if LLVM was built
without support for zstd compression.

Currently, compiletest relies on messy and fragile heuristics to detect whether
the compiler's LLVM was built with zstd support. But the compiler itself
already knows whether LLVM has zstd or not, so it's easier for compiletest to
just ask the compiler.
2025-12-05 14:27:52 +11:00
Noratrieb f157ce994e Add --print target-spec-json-schema
This schema is helpful for people writing custom target spec JSON. It
can provide autocomplete in the editor, and also serves as documentation
when there are documentation comments on the structs, as `schemars` will
put them in the schema.
2025-09-12 20:53:28 +02:00
xizheyin d054690049 Unify the format of rustc cli flags
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-04-24 12:54:40 +08:00
xizheyin 6fe881c788 Construct OutputType using macro and print [=FILENAME] help info
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-04-21 18:07:58 +08:00
clubby789 1b46969a11 Specify --print info=file syntax in --help 2025-04-14 14:52:27 +01:00
Urgau df18de57a5 Add unstable --print=crate-root-lint-levels 2025-04-01 18:29:39 +02:00
Jieyou Xu f1b8d89659 Rebless tests with changed help due to new print request option 2025-03-23 19:08:55 +08:00
Michael Toner 6f505ba767 ensure we always print all --print options in help 2025-03-01 12:05:51 -06:00
clubby789 2966256133 Make -O mean -C opt-level=3 2025-02-13 19:47:55 +00:00
Eric Huss 31c9222639 Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
Zalathar 8f7f9b93b2 Add a run-make test for rustc --help and similar 2024-11-08 12:46:39 +11:00