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

Test failure on main branch #71

Open
CohenArthur opened this issue Jun 15, 2023 · 1 comment
Open

Test failure on main branch #71

CohenArthur opened this issue Jun 15, 2023 · 1 comment
Labels
bug Something isn't working priority:high High priority issue. Essential to the project's operation

Comments

@CohenArthur
Copy link
Member

CohenArthur commented Jun 15, 2023

error: output of --print=split-debuginfo missing when learning about target-specific information from rustc
command was: `gccrs-driver rustc - --crate-name ___ --print=file-names --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg`

--- stdout
___
lib___.rlib
lib___.so
lib___.so
lib___.a
lib___.so
target_arch="x86_64"target_endian="little"target_env="gnu"target_family="unix"target_feature="fxsr"target_feature="mmx"target_feature="sse"target_feature="sse2"target_os="linux"target_pointer_width="64"target_vendor="unknown"

--- stderr
/usr/bin/ld: /lib/../lib64/crt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
collect2: error: ld returned 1 exit status

Error: `cargo-gccrs` did not complete succesfully

Reported by @Skallwar

@CohenArthur CohenArthur added bug Something isn't working priority:high High priority issue. Essential to the project's operation labels Jun 15, 2023
@CohenArthur
Copy link
Member Author

This is due to us trying to dump a configuration without passing an actual program - for some reason, gccrs does not like that, even though it was no problem before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:high High priority issue. Essential to the project's operation
Projects
None yet
Development

No branches or pull requests

1 participant