File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -898,13 +898,11 @@ impl Step for Rustc {
898
898
// unexpected debuginfo from dependencies, for example from the C++ standard library used in
899
899
// our LLVM wrapper. Unless we're explicitly requesting `librustc_driver` to be built with
900
900
// debuginfo (via the debuginfo level of the executables using it): strip this debuginfo
901
- // away after the fact. This is to make the distributed artifacts smaller, and therefore we
902
- // only do this at stage >= 1.
901
+ // away after the fact.
903
902
// FIXME: to make things simpler for now, limit this to the host and target where we know
904
903
// `strip -g` is both available and will fix the issue, i.e. on a x64 linux host that is not
905
904
// cross-compiling. Expand this to other appropriate targets in the future.
906
- if compiler. stage != 0
907
- && builder. config . rust_debuginfo_level_rustc == DebuginfoLevel :: None
905
+ if builder. config . rust_debuginfo_level_rustc == DebuginfoLevel :: None
908
906
&& builder. config . rust_debuginfo_level_tools == DebuginfoLevel :: None
909
907
&& target == "x86_64-unknown-linux-gnu"
910
908
&& target == builder. config . build
You can’t perform that action at this time.
0 commit comments