Skip to content

Commit b77dbbf

Browse files
committed
Clarify the retpoline section
1 parent 1ea11b7 commit b77dbbf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

content/Project-Goals-2025-July-Update.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,17 +170,19 @@ Ding is working on an experimental implementation ([PR#143527](https://github.co
170170

171171
## Queries on GCC-style inline assembly statements:
172172

173-
Ding opened a PR to Clang (a C frontend for LLVM): https://github.com/llvm/llvm-project/pull/143424 and got it merged.
173+
Ding opened a PR to Clang (a C frontend for LLVM): <https://github.com/llvm/llvm-project/pull/143424> and got it merged.
174174

175-
This is part of the LLVM/Clang issues the Rust for Linux project needs: https://github.com/Rust-for-Linux/linux/issues/1132.
175+
This is part of the LLVM/Clang issues the Rust for Linux project needs: <https://github.com/Rust-for-Linux/linux/issues/1132>.
176176

177177
## `-Zindirect-branch-cs-prefix`:
178178

179179
We've discussed whether this needs to be a separate target feature vs. a modifier on the existing `retpoline` one. Josh argued that since having this enabled without retpoline doesn't make sense, it should be a modifier. On the other hand, Miguel mentioned that it would be clearer on the user's side (easier to map the names from GCC and Clang to `rustc` when they're the same and see that we're enabling the same thing in Rust and Linux kernel's `Makefiles`).
180180

181-
Ultimately, this is a compiler question and should be resolved here: https://github.com/rust-lang/rust/pull/140740
181+
It seems that `-Cmin-function-alignment` will be another similar case.
182182

183-
The team was asked to submit an [MCP (Major Change Proposal)](https://forge.rust-lang.org/compiler/proposals-and-stabilization.html#how-do-i-submit-an-mcp) for `-Cmin-function-alignment` will be another similar case. @ojeda opened it here: <https://github.com/rust-lang/compiler-team/issues/899>, @davidtwco seconded it and it's in the Final Comment Period (FCP) now.
183+
Ultimately, this is a compiler question and should be resolved here: <https://github.com/rust-lang/rust/pull/140740>
184+
185+
The team was asked to submit an [MCP (Major Change Proposal)](https://forge.rust-lang.org/compiler/proposals-and-stabilization.html#how-do-i-submit-an-mcp) for `-Zindirect-branch-cs-prefix`. @ojeda opened it here: <https://github.com/rust-lang/compiler-team/issues/899> and it's now been accepted.
184186

185187
## Stabilizing `AddressSanitizer` and `LeakSanitizer`:
186188

0 commit comments

Comments
 (0)