rust-highfive ยท GitHub

@josephDunne

Copy link Copy Markdown

@rust-highfive

Copy link Copy Markdown

Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@josephDunne

Copy link Copy Markdown

Author

@ranma42

Copy link Copy Markdown

Contributor

@nikomatsakis

Copy link Copy Markdown

Contributor

@brson

Copy link Copy Markdown

Contributor

@bors

Copy link Copy Markdown

Collaborator

๐Ÿ“Œ Commit 15a8fc2 has been approved by brson

@josephDunne

Copy link Copy Markdown

Author

Thanks @brson in #32444 you mentioned something needs to change in src/rustbuild but im not sure what (and I cant see a folder with that name). Is that still relevant.

Also I cant see why the Travis build fail. It said all tests passed.

@brson

Copy link Copy Markdown

Contributor

Joseph Dunne

@josephDunne

@josephDunne

Copy link Copy Markdown

Author

Am I correct in saying that the other Tarballs have a version file created by the gen_installer.sh script?
How to I exercise this code to test it? You can just point me at the docs if they exist

@josephDunne

Copy link Copy Markdown

Author

r? @brson

I have updated the rustbuild files. I just don't know how to drive the process to confirm it works :-/

@brson

Copy link Copy Markdown

Contributor

Am I correct in saying that the other Tarballs have a version file created by the gen_installer.sh script?
How to I exercise this code to test it? You can just point me at the docs if they exist

No, the version file is only created for the rustc installer and the source tarball, by the build script, and the one in the rustc tarball is later copied into the rust tarball by rust-packaging. The gen_installer.sh script doesn't care about the program version.

You can test with ./configure --enable-rustbuild && make dist

@josephDunne

Copy link Copy Markdown

Author

ok I am happy with this commit. Both the rustc-1.13.0-dev-src.tar.gz and rustc-1.13.0-dev-x86_64-apple-darwin.tar.gz on my computer have a version file in them with the following content:

1.13.0-dev (8bb856cbf 2016-09-03)

@josephDunne

Copy link Copy Markdown

Author

@brson

Copy link Copy Markdown

Contributor

@bors

Copy link Copy Markdown

Collaborator

๐Ÿ“Œ Commit 72da8b8 has been approved by brson

@bors

Copy link Copy Markdown

Collaborator

โŒ› Testing commit 72da8b8 with merge a36e069...

bors added a commit that referenced this pull request

Sep 16, 2016
Add rustc version info (git hash + date) to dist tarball
a fix for #32444

@bors

@bors

Read the original on github.com โ†—