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

Cpp compiler selected as tool instead of linker #3055

Open
janosimas opened this issue Dec 6, 2024 · 0 comments
Open

Cpp compiler selected as tool instead of linker #3055

janosimas opened this issue Dec 6, 2024 · 0 comments

Comments

@janosimas
Copy link

I'm setting a new toolchain to build to SGX environments.
I found out that the gcc tool from the cc_toolchain is being selected at the linking stage.

if I set rust-lld as gcc, it works fine. Otherwise I get a garbage binary.

Is this the expected behavior?
Is there a way to force it to select ld instead of gcc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant