forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Linker is still invoked with target BPF #93
Comments
We are still writing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When we compile a project for the SBF target, we still invoke the linker, assuming the BPF target.
Them seems to be related to the following line:
rust/compiler/rustc_codegen_ssa/src/back/metadata.rs
Line 214 in 696ef74
However, changing it to
Architecture::Sbf
crashes the linker, as we try to put together files compiled for both the BPF and the SBF target.We are either invoking the compiler for both targets or writing the incorrect architecture in the file header.
The text was updated successfully, but these errors were encountered: