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.
This commit is contained in:
parent
53fa22a6fb
commit
056942215c
3 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue