-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Add -Zindirect-branch-cs-prefix
#140740
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
base: master
Are you sure you want to change the base?
Add -Zindirect-branch-cs-prefix
#140740
Conversation
4422b3c
to
0582d8f
Compare
0582d8f
to
b0392c5
Compare
@rustbot label F-target_modifiers A-rust-for-linux |
This comment has been minimized.
This comment has been minimized.
The error is related to the base PR -- I think this one should be clean (modulo the marked |
b0392c5
to
f395de3
Compare
This comment has been minimized.
This comment has been minimized.
f395de3
to
a79ff99
Compare
This comment has been minimized.
This comment has been minimized.
src/doc/unstable-book/src/compiler-flags/indirect-branch-cs-prefix.md
Outdated
Show resolved
Hide resolved
a79ff99
to
879a3bc
Compare
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #142443) made this pull request unmergeable. Please resolve the merge conflicts. |
This is intended to be used for Linux kernel RETPOLINE builds. Signed-off-by: Miguel Ojeda <[email protected]>
879a3bc
to
331c2b6
Compare
rustbot has assigned @compiler-errors. Use |
-Zindirect-branch-cs-prefix
on top of -Zretpoline*
-Zindirect-branch-cs-prefix
Cc: @azhogin @Darksonn
This goes on top of #135927, i.e. please skip the first commit here. Please feel free to inherit it there.
In fact, I am not sure if there is any use case for the flag without
-Zretpoline*
. GCC and Clang allow it, though.There is a
FIXME
for twoignore
s in the test that I took from another test I did in the past -- they may be needed or not here since I didn't run the full CI. Either way, it is not critical.Tracking issue: #116852.
MCP: rust-lang/compiler-team#868.