Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
3acfa81
bootstrap: openssl android support
malbarbo May 5, 2017
cf05cd8
bootstrap: Output name of failed config in case of errors
devurandom May 7, 2017
f383cbf
Update to the oxidized rust-installer
cuviper May 8, 2017
c9b2410
Use "rust-installer tarball" to create rustc-src too
cuviper May 8, 2017
defcfb2
Remove wrong or outdated info from CString docs.
mbrubeck May 9, 2017
8eaff4d
Force tool-rust-installer deps to build-only
cuviper May 9, 2017
99f629a
rustc: Add a new `-Z force-unstable-if-unmarked` flag
alexcrichton May 8, 2017
2729b71
Don't use sanitize_sh with rust-installer
cuviper May 10, 2017
e42875c
doc: break into 2 sentences
tshepang May 11, 2017
67a0d27
Ensure we walk the root module of the crate
May 11, 2017
43349e6
Upgrade some comments to doc comments
oli-obk May 11, 2017
641d053
Fix typo in size_hint example comment
mglagla May 11, 2017
eb5fc3c
Update to lzma-sys-0.1.2 to fix Windows crt-static
cuviper May 11, 2017
fb7ba47
Pass crate attributes in visit.rs
May 11, 2017
084b67f
Annotate the license exceptions
brson May 11, 2017
75b69c4
Fix search when looking to sources
GuillaumeGomez May 11, 2017
68c1ce9
rustc_trans: do not attempt to truncate an i1 const to i1.
eddyb May 11, 2017
af0e16c
rustbuild: Use `-Z force-unstable-if-unmarked`
alexcrichton May 8, 2017
ab54f4b
rustc: Remove #![unstable] annotation
alexcrichton May 8, 2017
861a4ed
Update to tar-0.4.12 to fix Windows paths
cuviper May 11, 2017
80891f6
Remove some unused macros from the rust codebase
est31 May 12, 2017
b47aa1b
config.toml.example: add note that optimize = false won't speed up a …
est31 May 12, 2017
7a03b4c
Fix unexpected panic with the -Z treat-err-as-bug option
tommyip May 12, 2017
acdb336
Rollup merge of #41820 - devurandom:patch-1, r=alexcrichton
Mark-Simulacrum May 12, 2017
32ca87c
Rollup merge of #41843 - cuviper:oxidized-installer, r=alexcrichton
Mark-Simulacrum May 12, 2017
442e6ad
Rollup merge of #41847 - alexcrichton:less-unstable-annotations, r=eddyb
Mark-Simulacrum May 12, 2017
18835c5
Rollup merge of #41860 - mbrubeck:docs, r=nagisa
Mark-Simulacrum May 12, 2017
2826e77
Rollup merge of #41896 - tshepang:too-long, r=steveklabnik
Mark-Simulacrum May 12, 2017
02ca10f
Rollup merge of #41912 - oli-obk:patch-3, r=eddyb
Mark-Simulacrum May 12, 2017
fefe8b4
Rollup merge of #41916 - mglagla:typo, r=sfackler
Mark-Simulacrum May 12, 2017
5a95a0d
Rollup merge of #41918 - brson:lic, r=alexcrichton
Mark-Simulacrum May 12, 2017
7429f20
Rollup merge of #41919 - nrc:save-crate, r=eddyb
Mark-Simulacrum May 12, 2017
629f801
Rollup merge of #41921 - GuillaumeGomez:fix-search-style, r=steveklabnik
Mark-Simulacrum May 12, 2017
de0d123
Rollup merge of #41923 - eddyb:issue-41744, r=arielb1
Mark-Simulacrum May 12, 2017
e532ea0
Rollup merge of #41934 - est31:remove_unused_macros, r=nagisa
Mark-Simulacrum May 12, 2017
39490ca
Rollup merge of #41940 - est31:master, r=eddyb
Mark-Simulacrum May 12, 2017
0c1a2e1
Rollup merge of #41942 - tommyip:master, r=Mark-Simulacrum
Mark-Simulacrum May 12, 2017
32d0f0b
Rollup merge of #41943 - malbarbo:android-openssl, r=alexcrichton
Mark-Simulacrum May 12, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use "rust-installer tarball" to create rustc-src too
This gives us an extra rustc-src.tar.xz, which is 33% smaller than the .tar.gz!
  • Loading branch information
cuviper committed May 9, 2017
commit c9b2410fe8ae757f762c83e3486d16ae7f904445
12 changes: 8 additions & 4 deletions src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,13 +469,17 @@ pub fn rust_src(build: &Build) {
write_file(&plain_dst_src.join("version"), build.rust_version().as_bytes());

// Create plain source tarball
let tarball = rust_src_location(build);
let mut tarball = rust_src_location(build);
tarball.set_extension(""); // strip .gz
tarball.set_extension(""); // strip .tar
if let Some(dir) = tarball.parent() {
t!(fs::create_dir_all(dir));
}
let mut cmd = Command::new("tar");
cmd.arg("-czf").arg(sanitize_sh(&tarball))
.arg(&plain_name)
let mut cmd = rust_installer(build);
cmd.arg("tarball")
.arg("--input").arg(&plain_name)
.arg("--output").arg(sanitize_sh(&tarball))
.arg("--work-dir=.")
.current_dir(tmpdir(build));
build.run(&mut cmd);

Expand Down