diff options
| author | Anthony Ramine <nox@nox.paris> | 2020-10-26 20:55:07 +0100 |
|---|---|---|
| committer | Anthony Ramine <nox@nox.paris> | 2020-10-26 23:26:43 +0100 |
| commit | 056942215cf8dc39686fa80e42b4e73657d4fed5 (patch) | |
| tree | 30ea88aeefa520cf0156c14526a97d45f6128b08 /compiler/rustc_interface/src | |
| parent | 53fa22a6fb293d9fb82221695a643825953aa34c (diff) | |
| download | rust-056942215cf8dc39686fa80e42b4e73657d4fed5.tar.gz rust-056942215cf8dc39686fa80e42b4e73657d4fed5.zip | |
Implement -Z function-sections=yes|no
This lets rustc users tweak whether all functions should be put in their own TEXT section, using whatever default value the target defines if the flag is missing.
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index 6553d0ecfdb..235e049c3f5 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -550,6 +550,7 @@ fn test_debugging_options_tracking_hash() { tracked!(force_overflow_checks, Some(true)); tracked!(force_unstable_if_unmarked, true); tracked!(fuel, Some(("abc".to_string(), 99))); + tracked!(function_sections, Some(false)); tracked!(human_readable_cgu_names, true); tracked!(inline_in_all_cgus, Some(true)); tracked!(insert_sideeffect, true); |
