We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Found when I trying to solve #123955 Here is the program, saved as tests/ui/codegen/vfe.rs:
tests/ui/codegen/vfe.rs
//@ run-pass //@ compile-flags: -C lto -Zvirtual-function-elimination //@ no-prefer-dynamic trait Empty {} impl Empty for () {} fn main() { _ = Box::new(()) as Box<dyn Empty>; }
rustc -C lto -Z virtual-function-elimination vfe.rs
./x test --stage 1 tests/ui/codegen/vfe.rs
running 1 tests [ui] tests/ui/codegen/vfe.rs ... F failures: ---- [ui] tests/ui/codegen/vfe.rs stdout ---- error: test run failed! status: signal: 4 (SIGILL) (core dumped) command: cd "/home/ray/Desktop/rust/build/x86_64-unknown-linux-gnu/test/ui/codegen/vfe" && RUSTC="/home/ray/Desktop/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUST_TEST_THREADS="16" "/home/ray/Desktop/rust/build/x86_64-unknown-linux-gnu/test/ui/codegen/vfe/a" stdout: none stderr: none
I'm curious if this is about the ./x test issue.
./x test
@rustbot label +C-bug +requires-nightly
The text was updated successfully, but these errors were encountered:
might be a duplicate of #98132
Sorry, something went wrong.
Triage: No objection to close as duplicate so let's close as duplicate.
No branches or pull requests
Found when I trying to solve #123955
Here is the program, saved as
tests/ui/codegen/vfe.rs
:rustc -C lto -Z virtual-function-elimination vfe.rs
and run the produced binary, it runs perfectly../x test --stage 1 tests/ui/codegen/vfe.rs
, if fails with the error:I'm curious if this is about the
./x test
issue.@rustbot label +C-bug +requires-nightly
The text was updated successfully, but these errors were encountered: