rust/compiler/rustc_driver_impl/src
jyn 801c1d8b90 fix default-backtrace-ice test
when running `tests/ui/panics/default-backtrace-ice.rs locally it gave this error:
```
failures:

---- [ui] tests/ui/panics/default-backtrace-ice.rs stdout ----
Saved the actual stderr to "/home/jyn/src/rust3/build/x86_64-unknown-linux-gnu/test/ui/panics/default-backtrace-ice/default-backtrace-ice.stderr"
diff of stderr:

7
8	aborting due to `-Z treat-err-as-bug=1`
9	stack backtrace:
-	(end_short_backtrace)
-	(begin_short_backtrace)
-	(end_short_backtrace)
-	(begin_short_backtrace)
+	      [... omitted 22 frames ...]
+
```

this is a regression from setting RUST_BACKTRACE=1 by default. we need to turn off the new behavior when running UI tests so that they reflect our dist compiler. normally that's done by checking `sess.unstable_opts.ui_testing`, but this happens extremely early in the compiler before we've expanded arg files. do an extremely simple hack that doesn't work in all cases - we don't need it to work in all cases, only when running UI tests.
2024-12-25 19:47:28 -05:00
..
args.rs Remove all threading through of ErrorGuaranteed from the driver 2024-12-06 18:42:31 +00:00
lib.rs fix default-backtrace-ice test 2024-12-25 19:47:28 -05:00
pretty.rs Reduce the amount of explicit FatalError.raise() 2024-12-20 14:09:25 +00:00
print.rs Fix ICE on --print=... i/o errors 2023-04-25 08:17:18 -07:00
session_diagnostics.rs unstable feature usage metrics 2024-11-20 11:31:40 -08:00
signal_handler.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00