rust/compiler/rustc_interface/src
许杰友 Jieyou Xu (Joe) df01a87de2
Rollup merge of #140740 - ojeda:indirect-branch-cs-prefix, r=davidtwco
Add `-Zindirect-branch-cs-prefix`

Cc: ``@azhogin`` ``@Darksonn``

This goes on top of https://github.com/rust-lang/rust/pull/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 `ignore`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: https://github.com/rust-lang/rust/issues/116852.
MCP: https://github.com/rust-lang/compiler-team/issues/868.
2025-08-19 19:42:01 +08:00
..
callbacks.rs Represent diagnostic side effects as dep nodes 2025-03-14 16:01:58 +01:00
errors.rs Remove attribute #[rustc_error] 2025-03-30 01:32:21 +03:00
interface.rs Extend QueryStability to handle IntoIterator implementations 2025-08-15 12:10:54 -04:00
lib.rs update cfg(bootstrap) 2025-05-12 15:33:37 +02:00
limits.rs Move methods from Map to TyCtxt, part 2. 2025-02-18 10:17:44 +11:00
passes.rs Auto merge of #145146 - fee1-dead-contrib:push-zmqrkurlzrxy, r=nnethercote 2025-08-09 23:27:55 +00:00
proc_macro_decls.rs Move methods from Map to TyCtxt, part 4. 2025-03-12 08:55:37 +11:00
queries.rs Save metadata among work products. 2025-07-04 14:02:17 +00:00
tests.rs Add -Zindirect-branch-cs-prefix (from draft PR) 2025-08-17 16:50:23 +02:00
util.rs rustc_session: Add a structure for keeping both explicit and default sysroots 2025-06-24 16:00:04 +03:00