You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this enables packed-stack just as -mpacked-stack in clang and gcc.
packed-stack is needed on s390x for kernel development.
Co-authored-by: Ralf Jung <post@ralfj.de>
Copy file name to clipboardExpand all lines: compiler/rustc_interface/src/errors.rs
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,13 @@ pub struct IgnoringOutDir;
114
114
#[diag("can't use option `-o` or `--emit` to write multiple output types to stdout")]
115
115
pubstructMultipleOutputTypesToStdout;
116
116
117
+
#[derive(Diagnostic)]
118
+
#[diag("packedstack with backchain needs softfloat")]
119
+
#[note(
120
+
"enabling both `-Zpacked-stack` and the `backchain` target feature is incompatible with the default s390x ABI. Switch to s390x-unknown-none-softfloat if you need both attributes"
121
+
)]
122
+
pubstructPackedStackBackchainNeedsSoftfloat;
123
+
117
124
#[derive(Diagnostic)]
118
125
#[diag(
119
126
"target feature `{$feature}` must be {$enabled} to ensure that the ABI of the current target can be implemented correctly"
warning: unstable feature specified for `-Ctarget-feature`: `backchain`
2
+
|
3
+
= note: this feature is not stably supported; its behavior can change in the future
4
+
5
+
error: packedstack with backchain needs softfloat
6
+
|
7
+
= note: enabling both `-Zpacked-stack` and the `backchain` target feature is incompatible with the default s390x ABI. Switch to s390x-unknown-none-softfloat if you need both attributes
8
+
9
+
error: aborting due to 1 previous error; 1 warning emitted
0 commit comments