Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upInstall source code for debugging #19535
Comments
brson
added
A-build
A-infrastructure
labels
Dec 4, 2014
This comment has been minimized.
This comment has been minimized.
|
Also necessary for racer: https://www.reddit.com/r/rust/comments/2sfmtj/racerrustup/ |
brson
added
A-debuginfo
A-tools
labels
Apr 23, 2015
This comment has been minimized.
This comment has been minimized.
bruno-medeiros
commented
Apr 24, 2015
"Adding docs to the installer has already drawn consternation for the bloat" Really?.. Hah, I'm surprised in this day an age people are still picky about that. |
This comment has been minimized.
This comment has been minimized.
|
How about providing a separate command line option for the sources? |
brson
referenced this issue
Jun 23, 2015
Open
Feature request - ability to fetch installation source code (rustc...) #77
This comment has been minimized.
This comment has been minimized.
antonkulaga
commented
Aug 11, 2015
|
any progress on this? |
This comment has been minimized.
This comment has been minimized.
|
cc @nrc |
bruno-medeiros
referenced this issue
Aug 21, 2015
Closed
Question: Do I need have to the rust source to get racer to work? #345
This comment has been minimized.
This comment has been minimized.
|
Some comments from IRC
|
brson
referenced this issue
Nov 23, 2015
Open
racer expects SRC_RUST_PATH environment variable, which varies depending on override #114
This comment has been minimized.
This comment has been minimized.
|
cc @fenduru I think everyone would be very happy with something very basic even if it is far from perfect - just enough for multirust/other tools to fetch the source and keep racer up to date with nightlies |
This comment has been minimized.
This comment has been minimized.
|
Since YCM now provides Rust completion support (through the YCM -> ycmd -> racerd -> racer chain), we too would love to see Rust standard library source code installed as part of the Rust installation. The code-completion experience is sub-par when the user hasn't gone through the hassle of downloading Rust source and then setting the correct YCM conf option to tell us where that is. Few users will go read the docs and understand this option needs to be set. Currently we're adding an error message for this case so that the user has something to go on besides "completion failed," but it's still a shitty user experience. If the stdlib source code could be installed along with rustc & cargo, then Rust code-completion, GoTo etc would Just Work out of the box (for YCM at least). |
This comment has been minimized.
This comment has been minimized.
AlexRadch
commented
Feb 16, 2016
|
Where instructions how to download Rust sources? |
This comment has been minimized.
This comment has been minimized.
|
@AlexRadch : Go to https://www.rust-lang.org/downloads.html and click on "Source". |
bruno-medeiros
referenced this issue
May 26, 2016
Open
TRACKER for important Rust and Cargo toolchain issues #112
brson
referenced this issue
Jun 9, 2016
Closed
Consider if we want to bundle rustc source code in docs #23061
brson
referenced this issue
Jun 20, 2016
Merged
Produce source package in rust-installer format #34366
This comment has been minimized.
This comment has been minimized.
RobertWHurst
commented
Jul 17, 2016
|
Any progress on this? |
This comment has been minimized.
This comment has been minimized.
|
@RobertWHurst PR #34366 is a requisite for this. |
This comment has been minimized.
This comment has been minimized.
|
Almost working. We're producing the source packages, but they are busted. Next fix is rust-lang/rust-installer#48 |
This comment has been minimized.
This comment has been minimized.
RobertWHurst
commented
Aug 24, 2016
|
Very cool. Can't wait |
This comment has been minimized.
This comment has been minimized.
|
We've got |
brson commentedDec 4, 2014
In order to debug std the source code must be present. It's complicated because you really want to use unoptimized builds for debugging, so this might entail some complicated installation scenarios where you have both optimized and unoptimized std.