Added RUSTC_GRAPHVIZ_FONT environment variable
Overrides the debugging_opts.graphviz_font setting.
This commit is contained in:
parent
5c29332ace
commit
3875abe32f
2 changed files with 6 additions and 1 deletions
|
@ -1762,6 +1762,10 @@ pub fn build_session_options(matches: &getopts::Matches) -> Options {
|
|||
debugging_opts.symbol_mangling_version = SymbolManglingVersion::V0;
|
||||
}
|
||||
|
||||
if let Ok(graphviz_font) = std::env::var("RUSTC_GRAPHVIZ_FONT") {
|
||||
debugging_opts.graphviz_font = graphviz_font;
|
||||
}
|
||||
|
||||
if !cg.embed_bitcode {
|
||||
match cg.lto {
|
||||
LtoCli::No | LtoCli::Unspecified => {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue