diff options
| author | Ralf Jung <post@ralfj.de> | 2025-05-23 08:07:42 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-06-19 09:44:01 +0900 |
| commit | cd08652faa37a9119c2cf535b927129b1c4438b7 (patch) | |
| tree | f81da7726f370e8b3a36b0016145c1062a9c5f9d /compiler/rustc_session/src/options.rs | |
| parent | d70ec32ea7e03e3a082a45eeba6c8aa4c653efb4 (diff) | |
| download | rust-cd08652faa37a9119c2cf535b927129b1c4438b7.tar.gz rust-cd08652faa37a9119c2cf535b927129b1c4438b7.zip | |
move -Ctarget-feature handling into shared code
Diffstat (limited to 'compiler/rustc_session/src/options.rs')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 31b4237d3b2..7fef942525b 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -290,14 +290,6 @@ macro_rules! top_level_options { mods.sort_by(|a, b| a.opt.cmp(&b.opt)); mods } - - pub fn target_feature_flag_enabled(&self, flag: &str) -> bool { - match flag { - "retpoline" => self.unstable_opts.retpoline, - "retpoline-external-thunk" => self.unstable_opts.retpoline_external_thunk, - _ => false, - } - } } ); } |
