Add -Zindirect-branch-cs-prefix by ojeda · Pull Request #140740 · rust-lang/rust (original) (raw)
Copy link
Contributor
ojeda commented
•
edited
Loading
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 two ignores 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#899.