Tracking issue: -Zreg-struct-return support in rustc · Issue #116973 · rust-lang/rust (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@ojeda

Description

@ojeda

i.e. the equivalent of Clang's/GCC's -freg-struct-return. The kernel needs it to support the x86 32-bit architecture, together with -Zregparm=3.

It could potentially be a "global target feature", i.e. a target feature that is required to be set the same way for all compilation units.

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.

Steps

Unresolved Questions & Answers