ui/lto: move and rename two tests from issues/#154167
ui/lto: move and rename two tests from issues/#154167ujjwalvishwakarma2006 wants to merge 3 commits intorust-lang:mainfrom
Conversation
|
hey! usually you'd split these into separate commits (check this discussion) and add a comment at the top referencing the original issue, something like |
|
@zedddie Oh. Sorry, I wasn't aware of this. I thought I should consolidate as many files as possible into a single commit so that they don't clutter commits that actually fix some bugs or add features. Also, isn't it inefficient? Because after every commit, the "internal tool" runs some checks, and it takes about an hour to execute those checks. BTW, I have made changes in the top comment. |
It's totally fine! You aren't supposed to know everything beforehand.
I believe the tidy check should run as pre-push hook, not after each commit. I can suggest you looking at this chapter of rustc-dev-guide for more info! |
Oops maybe what I said wasn't really clear, I meant adding this lines to the top of the renamed test files. //! regression test for <https://github.com/rust-lang/rust/issues/44056>
//@ build-pass (FIXME(55996): should be run on targets supporting avx)
//@ only-x86_64
//@ no-prefer-dynamic
//@ compile-flags: -Ctarget-feature=+avx -Clto
//@ ignore-backends: gcc
fn main() {}not PR description. |
9b8d21b to
f8676e7
Compare
|
@zedddie |
|
FYI: We're discouraging using Copilot for reviews. Once IT completes its review, Copilot-generated messages will be hidden as spam. |
I don't know why the Copilot review started automatically. Who is responsible for changing this functionality - the contributor or the organization? Do I need to disable the Copilot reviewer? If yes, let me fix this in future commits. Edit: I got the answer, it's in my hands ( : |
|
Yep, this should be in your settings -- we've already disabled automatic Copilot reviews. |
Move:
tests/ui/issues/issue-44056.rs->tests/ui/lto/lto-avx-target-feature.rsui/ltofor consistency.tests/ui/issues/issue-51947.rs->tests/ui/lto/lto-weak-merge-functions.rsui/lto.I have also added a commented line at the top of each test file indicating the issue it originated from.