-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
nvptx "ptx-kernel" ABI (feature: abi_ptx) uses PassMode::Direct for Aggregates #117271
Comments
@rustbot label +O-NVPTX |
This comment is an important part of that argument as well. |
Would it be possible to use rust/compiler/rustc_codegen_llvm/src/type_of.rs Lines 15 to 140 in 3d1dba8
PassMode::Direct arguments are passed currently)
|
It produces seemingly correct behavior. However, it needs to be switched over to a less fragile ABI handling (rust-lang/compiler-team#672) before stabilization may happen.
@RalfJung's comment explains the problem and why it is considered harmless enough to allow this exception until a better solution is found.
The text was updated successfully, but these errors were encountered: