diff options
| author | Ben Kimock <kimockb@gmail.com> | 2023-10-06 20:29:42 -0400 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2023-10-17 19:53:51 -0400 |
| commit | 33b0e4be060c8a3f5cc86b6a3e89d8e980a9a51b (patch) | |
| tree | 79040aac88d1e13a620fd8d730822a727a6cf323 /compiler/rustc_session/src | |
| parent | 09df6108c84fdec400043d99d9ee232336fd5a9f (diff) | |
| download | rust-33b0e4be060c8a3f5cc86b6a3e89d8e980a9a51b.tar.gz rust-33b0e4be060c8a3f5cc86b6a3e89d8e980a9a51b.zip | |
Automatically enable cross-crate inlining for small functions
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index f33139c5c4b..11fbd9f8f86 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1452,6 +1452,8 @@ options! { "combine CGUs into a single one"), crate_attr: Vec<String> = (Vec::new(), parse_string_push, [TRACKED], "inject the given attribute in the crate"), + cross_crate_inline_threshold: Option<usize> = (None, parse_opt_number, [TRACKED], + "threshold to allow cross crate inlining of functions"), debug_info_for_profiling: bool = (false, parse_bool, [TRACKED], "emit discriminators and other data necessary for AutoFDO"), debug_macros: bool = (false, parse_bool, [TRACKED], |
