Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debuginfo: Improve commandline option handling for debuginfo (fixes #…
…12811) The `-g` flag does not take an argument anymore while the argument to `--debuginfo` becomes mandatory. This change makes it possible again to run the compiler like this: `rustc -g ./file.rs` This did not work before because `./file.rs` was misinterpreted as the argument to `-g`. In order to get limited debuginfo, one now has to use `--debuginfo=1`.
- Loading branch information
1 parent
a0f20f0
commit 3ea50f0
Showing
4 changed files
with
38 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3ea50f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at michaelwoerister@3ea50f0
3ea50f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging michaelwoerister/rust/limited-debuginfo = 3ea50f0 into auto
3ea50f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
michaelwoerister/rust/limited-debuginfo = 3ea50f0 merged ok, testing candidate = 1835667
3ea50f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/4690
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/2532
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/2531
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/4687
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3787
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3793
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/4702
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3790
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3796
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/4704
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3790
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3795
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/3863
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1681
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/4700
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/3802
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3808
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/4463
3ea50f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 1835667