Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register new snapshots and tweak the snapshot process #10747

Merged
merged 1 commit into from
Dec 3, 2013

Conversation

alexcrichton
Copy link
Member

This registers new snapshots after the landing of #10528, and then goes on to tweak the build process to build a monolithic rustc binary for use in future snapshots. This mainly involved dropping the dynamic dependency on librustllvm, so that's now built as a static library (with a dynamically generated rust file listing LLVM dependencies).

This currently doesn't actually make the snapshot any smaller (24MB => 23MB), but I noticed that the executable has 11MB of metadata so once progress is made on #10740 we should have a much smaller snapshot.

There's not really a super-compelling reason to distribute just a binary because we have all the infrastructure for dealing with a directory structure, but to me it seems "more correct" that a snapshot compiler is just a rustc binary.

@alexcrichton
Copy link
Member Author

I have removed the tweaks to the snapshot process because we're going to need some extra logic before we can link all the LLVM libraries statically to rustc. (#10785)

bors added a commit that referenced this pull request Dec 3, 2013
This registers new snapshots after the landing of #10528, and then goes on to tweak the build process to build a monolithic `rustc` binary for use in future snapshots. This mainly involved dropping the dynamic dependency on `librustllvm`, so that's now built as a static library (with a dynamically generated rust file listing LLVM dependencies).

This currently doesn't actually make the snapshot any smaller (24MB => 23MB), but I noticed that the executable has 11MB of metadata so once progress is made on #10740 we should have a much smaller snapshot.

There's not really a super-compelling reason to distribute just a binary because we have all the infrastructure for dealing with a directory structure, but to me it seems "more correct" that a snapshot compiler is just a `rustc` binary.
@bors bors closed this Dec 3, 2013
@bors bors merged commit acc5e32 into rust-lang:master Dec 3, 2013
@alexcrichton alexcrichton deleted the snapshots branch December 4, 2013 01:43
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 5, 2023
…=flip1995

Inherit stdout/stderr for `cargo dev dogfood`

changelog: none

Prints progress as it happens and in colour, and will also show anything printed to stderr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants