Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add regression test for issue 80108 #89579

Merged
merged 1 commit into from
Oct 11, 2021

Conversation

workingjubilee
Copy link
Member

Closes #80108

@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 5, 2021
@Mark-Simulacrum
Copy link
Member

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Oct 9, 2021

📌 Commit 192e7a9 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 9, 2021
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Oct 10, 2021
…8, r=Mark-Simulacrum

Add regression test for issue 80108

Closes rust-lang#80108
@matthiaskrgr
Copy link
Member

This failed in a rollup (#89724)

https://github.com/rust-lang-ci/rust/runs/3850364354#step:26:20251

failures:

---- [ui] ui/wasm/simd-to-array-80108.rs stdout ----

error: test compilation failed although it shouldn't!
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/wasm/simd-to-array-80108.rs" "-Zthreads=1" "--target=wasm32-unknown-unknown" "--error-format" "json" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/wasm/simd-to-array-80108" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/wasm32-unknown-unknown/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/wasm/simd-to-array-80108/auxiliary"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------
error[E0601]: `main` function not found in crate `simd_to_array_80108`
  --> /checkout/src/test/ui/wasm/simd-to-array-80108.rs:3:1
   |
LL | / #![feature(repr_simd)]
LL | |
LL | | // Regression test for #80108
LL | |
...  |
LL | |     }
LL | | }
   | |_^ consider adding a `main` function to `/checkout/src/test/ui/wasm/simd-to-array-80108.rs`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0601`.

------------------------------------------



failures:
    [ui] ui/wasm/simd-to-array-80108.rs

test result: FAILED. 11631 passed; 1 failed; 637 ignored; 0 measured; 0 filtered out; finished in 100.39s

@bors r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 10, 2021
@workingjubilee workingjubilee force-pushed the regression-test-80108 branch 3 times, most recently from 8a0b4c6 to cb33dc1 Compare October 10, 2021 21:07
@workingjubilee
Copy link
Member Author

Revised to build this as a library, since there is no reason this should need fn main() to be tested.
On consideration, and since I was looking at the flags to do so anyways, I made sure the test includes the optimizer.

// compile-flags: --crate-type=lib -Copt-level=2

@Mark-Simulacrum
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Oct 10, 2021

📌 Commit 7fb6e1a has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 10, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 11, 2021
…askrgr

Rollup of 6 pull requests

Successful merges:

 - rust-lang#89579 (Add regression test for issue 80108)
 - rust-lang#89632 (Fix docblock code display on mobile)
 - rust-lang#89691 (Move `DebuggerCommands` and `check_debugger_output` to a separate module)
 - rust-lang#89707 (Apply clippy suggestions for std)
 - rust-lang#89722 (Fix spelling: Cannonical -> Canonical)
 - rust-lang#89736 (Remove unused CSS rule)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 2bfbf97 into rust-lang:master Oct 11, 2021
@rustbot rustbot added this to the 1.57.0 milestone Oct 11, 2021
@workingjubilee workingjubilee deleted the regression-test-80108 branch March 25, 2022 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid bitcast with repr(simd), array type, and wasm
6 participants