diff --git a/packages/rust/proxy/src/main.rs b/packages/rust/proxy/src/main.rs index 56b03c46..2b88f715 100644 --- a/packages/rust/proxy/src/main.rs +++ b/packages/rust/proxy/src/main.rs @@ -145,7 +145,13 @@ fn main() { if let Err(e) = main_inner() { eprintln!("rustc proxy failed: {e}"); - eprintln!("{}", e.trace(&tg::error::TraceOptions::default())); + eprintln!( + "{}", + e.trace(&tg::error::TraceOptions { + internal: true, + reverse: false, + }) + ); std::process::exit(1); } } diff --git a/packages/std/packages/cc_proxy/src/main.rs b/packages/std/packages/cc_proxy/src/main.rs index acf5047f..43187e56 100644 --- a/packages/std/packages/cc_proxy/src/main.rs +++ b/packages/std/packages/cc_proxy/src/main.rs @@ -276,6 +276,13 @@ impl Args { fn main() { if let Err(e) = main_inner() { eprintln!("cc proxy failed: {e}"); + eprintln!( + "{}", + e.trace(&tg::error::TraceOptions { + internal: true, + reverse: false, + }) + ); std::process::exit(1); } } diff --git a/packages/std/packages/ld_proxy/src/main.rs b/packages/std/packages/ld_proxy/src/main.rs index 5a193e5a..a58c2a17 100644 --- a/packages/std/packages/ld_proxy/src/main.rs +++ b/packages/std/packages/ld_proxy/src/main.rs @@ -16,7 +16,7 @@ const MAX_DEPTH: usize = 16; fn main() { if let Err(e) = main_inner() { eprintln!("linker proxy failed: {e}"); - tracing::error!( + eprintln!( "{}", e.trace(&tg::error::TraceOptions { internal: true, diff --git a/packages/std/packages/strip_proxy/src/main.rs b/packages/std/packages/strip_proxy/src/main.rs index 07544931..bea8d951 100644 --- a/packages/std/packages/strip_proxy/src/main.rs +++ b/packages/std/packages/strip_proxy/src/main.rs @@ -10,7 +10,13 @@ fn main() { if let Err(e) = main_inner() { eprintln!("strip proxy failed: {e}"); - eprintln!("{}", e.trace(&tg::error::TraceOptions::default())); + eprintln!( + "{}", + e.trace(&tg::error::TraceOptions { + internal: true, + reverse: false, + }) + ); std::process::exit(1); } }