about summary refs log tree commit diff
path: root/tests/ui/print-request/stability.rs
AgeCommit message (Collapse)AuthorLines
2025-06-16Revert overeager warning for misuse of `--print native-static-libs`Jubilee Young-1/+0
In a PR to emit warnings on misuse of `--print native-static-libs`, we did not consider the matter of composing parts of build systems. If you are not directly invoking rustc, it can be difficult to know when you will in fact compile a staticlib, so making sure everyone uses `--print native-static-lib` correctly can be just a nuisance. This reverts the following commits: - f66787a08d57dc1296619b314d2be596085bfeef - 72a9219e82c157041bfc8dfd378c9cb2b09c0650 - 98bb597c05c32365abbd6898f278b097352774ed - c59b70841c36277464b51161e3fcf12dfcb667e0 Next cycle we can reland a slightly more narrowly focused variant or one that focuses on `--emit` instead of `--print native-static-libs`. But in its current state, I am not sure the warning is very useful.
2025-05-02Emit warning while outputs is not exe and prints linkage infoxizheyin-0/+1
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-04-03Fix up tests on wasm and msvc, and rebase conflictsVadim Petrochenkov-1/+1
Can be fixed properly later by adding a new flag for non-exhaustive line annotation checking
2025-04-03compiletest: Require `//~` annotations even if `error-pattern` is specifiedVadim Petrochenkov-4/+5
2025-04-01Add unstable `--print=crate-root-lint-levels`Urgau-0/+4
2025-03-23Implement `supported-crate-types` print requestJieyou Xu-0/+4
As an unstable print request.
2025-03-16Add a centralized test for print request stability gatingJieyou Xu-0/+103
I can't find any dedicated tests that actually exercises the stability gating (via `-Z unstable-options`) of print requests, so here's a dedicated one. I coalesced `tests/ui/feature-gates/feature-gate-print-check-cfg.rs` into this test, because AFAICT that print request is not feature gated, but only `-Z unstable-options`-gated just like other unstable print requests.