| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-09-26 | Ignore more failing ui tests for GCC backend | Guillaume Gomez | -0/+1 | |
| 2025-09-22 | Extends branch protection tests to include GCS | Reuben Cruise | -2/+2 | |
| 2025-09-12 | Add --print target-spec-json-schema | Noratrieb | -2/+2 | |
| 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-08-24 | Port crate name to the new attribute system | Jana Dönszelmann | -21/+14 | |
| 2025-08-17 | Add `-Zindirect-branch-cs-prefix` option | Miguel Ojeda | -0/+25 | |
| This is intended to be used for Linux kernel RETPOLINE builds. Signed-off-by: Miguel Ojeda <ojeda@kernel.org> | ||||
| 2025-08-11 | Add link to docs on malformed attributes | Esteban Küber | -0/+8 | |
| 2025-06-16 | tests: `{Meta,Pointee}Sized` in non-minicore tests | David Wood | -1/+7 | |
| As before, add `MetaSized` and `PointeeSized` traits to all of the non-minicore `no_core` tests so that they don't fail for lack of language items. | ||||
| 2025-05-04 | compiletest: Support matching on non-json lines in compiler output | Vadim Petrochenkov | -1/+2 | |
| and migrate most of remaining `error-pattern`s to it. | ||||
| 2025-04-24 | Unify the format of rustc cli flags | xizheyin | -3/+5 | |
| Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn> | ||||
| 2025-04-21 | Construct OutputType using macro and print [=FILENAME] help info | xizheyin | -3/+13 | |
| Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn> | ||||
| 2025-04-20 | Add ui test emit-output-types-without-args.rs | xizheyin | -0/+7 | |
| Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn> | ||||
| 2025-04-14 | Specify `--print info=file` syntax in `--help` | clubby789 | -2/+3 | |
| 2025-04-10 | tests: use specific-purpose `needs-crate-type` over `ignore-$target` directives | Jieyou Xu | -6/+3 | |
| Not all existing tests are converted, I only updated ones that I can easily find via directive comments. | ||||
| 2025-04-03 | compiletest: Require `//~` annotations even if `error-pattern` is specified | Vadim Petrochenkov | -10/+16 | |
| 2025-04-02 | Rollup merge of #139184 - Urgau:crate-root-lint-levels, r=jieyouxu | Takayuki Maeda | -2/+2 | |
| Add unstable `--print=crate-root-lint-levels` This PR implements `--print=crate-root-lint-levels` from MCP 833 https://github.com/rust-lang/compiler-team/issues/833. Tracking issue: https://github.com/rust-lang/rust/issues/139180 Best reviewed commit by commit. | ||||
| 2025-04-01 | Add unstable `--print=crate-root-lint-levels` | Urgau | -2/+2 | |
| 2025-03-25 | compiletest: Support matching on diagnostics without a span | Vadim Petrochenkov | -0/+11 | |
| 2025-03-23 | Rebless tests with changed help due to new print request option | Jieyou Xu | -2/+2 | |
| 2025-03-19 | Suggest `-Whelp` when pass `--print lints` to rustc | xizheyin | -0/+1 | |
| Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn> | ||||
| 2025-03-14 | Show valid crate types when the user passes unknown `--crate-type` value | malezjaa | -6/+6 | |
| Co-authored-by: Jieyou Xu <jieyouxu@outlook.com> | ||||
| 2025-03-01 | ensure we always print all --print options in help | Michael Toner | -1/+1 | |
| 2025-02-15 | Reject macro calls inside of `#![crate_name]` | León Orell Valerian Liehr | -0/+53 | |
| 2025-02-15 | Move `#![crate_type]` UI tests into attributes directory | León Orell Valerian Liehr | -0/+8 | |
| Gets rid of two top-level UI tests which is always great. Furthermore, move `need-crate-arg-ignore-tidy$x.rs` from `command/` to `invalid-compile-flags/`. `command/` concerns `std::process::Command` tests, not CLI tests. | ||||
| 2025-02-12 | clarify | Tshepang Mbambo | -3/+3 | |
| Also, use signular form for consistency/simplicity | ||||
| 2025-02-12 | test cli functionality in all targets | Tshepang Mbambo | -3/+1 | |
| 2025-01-08 | Only test proc-macro invalid compile flags with panic=unwind | Erick Tryzelaar | -0/+1 | |
| Fuchsia explicitly builds rust and all rust targets with `-C panic=abort` to minimize code generation size. However, when compiling a proc-macro with this setting it can cause a warning to be emitted, which breaks `tests/ui/invalid-compile-flags/crate-type-flag.rs`. This hasn't been a problem in the past for us since we compile our proc macros on host, rather than inside Fuchsia. This attempts to fix the issue by explicitly requiring that we're using the unwinder when compiling this test to avoid the warning being emitted. Fixes #135223 | ||||
| 2024-12-30 | tests: add basic test coverage for cli flag `--crate-type` | 许杰友 Jieyou Xu (Joe) | -0/+67 | |
| 2024-12-02 | rust_for_linux: -Zreg-struct-return commandline flag for X86 (#116973) | Andrew Zhogin | -0/+29 | |
| 2024-11-26 | Remove extra tests. | Camille GILLOT | -11/+0 | |
| 2024-11-05 | Rollup merge of #132259 - mrkajetanp:branch-protection-pauth-lr, r=davidtwco | Matthias Krüger | -4/+9 | |
| rustc_codegen_llvm: Add a new 'pc' option to branch-protection Add a new 'pc' option to -Z branch-protection for aarch64 that enables the use of PC as a diversifier in PAC branch protection code. When the pauth-lr target feature is enabled in combination with -Z branch-protection=pac-ret,pc, the new 9.5-a instructions (pacibsppc, retaasppc, etc) will be generated. | ||||
| 2024-11-02 | Add `--print host-triple` | Noratrieb | -1/+1 | |
| People often parse `-vV` output to get to the host triple, which is annoying to do. It's easier to just get it directly. | ||||
| 2024-10-31 | rustc_codegen_llvm: Add a new 'pc' option to branch-protection | Kajetan Puchalski | -4/+9 | |
| Add a new 'pc' option to -Z branch-protection for aarch64 that enables the use of PC as a diversifier in PAC branch protection code. When the pauth-lr target feature is enabled in combination with -Z branch-protection=pac-ret,pc, the new 9.5-a instructions (pacibsppc, retaasppc, etc) will be generated. | ||||
| 2024-10-18 | rust_for_linux: -Zregparm=<N> commandline flag for X86 (#116972) | Andrew Zhogin | -0/+57 | |
| 2024-08-11 | Fix #128930: Print documentation of CLI options missing their arg | George Bateman | -0/+6 | |
| 2024-04-25 | Add `--print=check-cfg` to get the expected configs | Urgau | -1/+1 | |
| 2024-04-24 | Improve diagnostic for unknown --print request | Urgau | -0/+5 | |
| 2024-02-16 | [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives | 许杰友 Jieyou Xu (Joe) | -42/+42 | |
| 2023-12-08 | Fuel is incompatible with incremental compilation | Tomasz Miąsko | -0/+11 | |
| 2023-11-30 | Add `-Zfunction-return={keep,thunk-extern}` option | Miguel Ojeda | -0/+49 | |
| This is intended to be used for Linux kernel RETHUNK builds. With this commit (optionally backported to Rust 1.73.0), plus a patched Linux kernel to pass the flag, I get a RETHUNK build with Rust enabled that is `objtool`-warning-free and is able to boot in QEMU and load a sample Rust kernel module. Signed-off-by: Miguel Ojeda <ojeda@kernel.org> | ||||
| 2023-11-24 | Show number in error message even for one error | Nilstrieb | -2/+2 | |
| Co-authored-by: Adrian <adrian.iosdev@gmail.com> | ||||
| 2023-10-20 | Move `invalid-llvm-passes` test to `invalid-compile-flags` folder | Miguel Ojeda | -0/+8 | |
| Nowadays there is an `invalid-compile-flags` folder, thus move this one there. Signed-off-by: Miguel Ojeda <ojeda@kernel.org> | ||||
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -0/+26 | |
