rust/tests
bors 59ae5eba7e Auto merge of #132514 - Zalathar:print-target-cpus, r=jieyouxu
Port most of `--print=target-cpus` to Rust

The logic and formatting needed by `--print=target-cpus` has historically been carried out in C++ code. Originally it used `printf` to write directly to the console, but later it switched over to writing to a `std::ostringstream` and then passing its buffer to a callback function pointer.

This PR replaces that C++ code with a very simple function that writes a list of CPU names to a `&RustString`, with the rest of the logic and formatting being handled by ordinary safe Rust code.
2024-11-03 11:09:38 +00:00
..
assembly Rollup merge of #132457 - taiki-e:needless-feature, r=workingjubilee 2024-11-02 08:33:13 +01:00
auxiliary tests: use minicore in tests/ui/abi/compatibility.rs as an example 2024-10-31 18:20:11 +08:00
codegen Rollup merge of #132170 - veera-sivarajan:codegen-tests, r=jieyouxu 2024-11-02 08:33:10 +01:00
codegen-units Fix and enable disabled codegen-units tests 2024-08-10 14:03:27 -04:00
coverage Dont ICE when computing coverage of synthetic async closure body 2024-10-18 20:14:02 +11:00
coverage-run-rustdoc
crashes Promote test. 2024-10-30 16:22:14 +00:00
debuginfo Auto merge of #123550 - GnomedDev:remove-initial-arc, r=Noratrieb 2024-10-24 13:35:50 +00:00
incremental Bless incremental tests. 2024-10-04 23:50:01 +00:00
mir-opt Add a mir-opt GVN test for #128299 2024-10-31 13:48:35 +08:00
pretty Add pretty, ui, and feature-gate tests for the enzyme/autodiff frontend 2024-10-11 20:38:43 +02:00
run-make Add a run-make test for same-arch --print=target-cpus 2024-11-02 23:39:29 +11:00
rustdoc rustdoc: skip stability inheritance for some item kinds 2024-11-02 00:31:32 +01:00
rustdoc-gui Add GUI regression test for variant structfields margins 2024-10-28 11:16:38 +01:00
rustdoc-js allow type-based search on foreign functions 2024-10-25 12:19:04 -05:00
rustdoc-js-std Fix rustdoc-js-std path-ordering test due to API removal 2024-10-02 11:15:48 +02:00
rustdoc-json Rename Receiver -> LegacyReceiver 2024-10-22 12:55:16 +00:00
rustdoc-ui Rollup merge of #132210 - notriddle:notriddle/doctest-span-hack, r=GuillaumeGomez 2024-10-30 14:01:37 -07:00
ui Auto merge of #125579 - Noratrieb:print-host, r=davidtwco 2024-11-02 23:04:42 +00:00
ui-fulldeps give a better error for tuple structs in derive(Diagnostic) 2024-10-27 21:23:28 -04:00
COMPILER_TESTS.md