Skip to content

Commit ba12064

Browse files
committed
---
yaml --- r: 167839 b: refs/heads/master c: 340f3fd h: refs/heads/master i: 167837: 4d5bc55 167835: 5bae6a9 167831: 7c4642c 167823: dfb8afb 167807: a88c889 v: v3
1 parent e133cb1 commit ba12064

File tree

673 files changed

+6203
-4588
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

673 files changed

+6203
-4588
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 1abee08cbdbd62a83805aa5b5068df9e00471f06
2+
refs/heads/master: 340f3fd7a909b30509a63916df06f2b885d113f7
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c89417130f042c58adc60012e7cddc4ef70b70b9
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb

trunk/.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# RVM/bundler/ruby and whatnot. Right now 'rust' as a language actually
33
# downloads a rust/cargo snapshot, which we don't really want for building rust.
44
language: c
5+
sudo: false
56

67
# The test suite is in general way too stressful for travis, especially in
78
# terms of time limit and reliability. In the past we've tried to scale things

trunk/mk/dist.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ distcheck-osx: dist-osx
212212
# Unix binary installer tarballs
213213
######################################################################
214214

215-
NON_INSTALLED_PREFIXES=COPYRIGHT,LICENSE-APACHE,LICENSE-MIT,README.md,doc
215+
NON_INSTALLED_PREFIXES=COPYRIGHT,LICENSE-APACHE,LICENSE-MIT,README.md,version
216216

217217
define DEF_INSTALLER
218218

@@ -236,6 +236,8 @@ dist-install-dir-$(1): prepare-base-dir-$(1) docs compiler-docs
236236
$$(Q)$$(PREPARE_MAN_CMD) $$(S)LICENSE-APACHE $$(PREPARE_DEST_DIR)/share/doc/rust
237237
$$(Q)$$(PREPARE_MAN_CMD) $$(S)LICENSE-MIT $$(PREPARE_DEST_DIR)/share/doc/rust
238238
$$(Q)$$(PREPARE_MAN_CMD) $$(S)README.md $$(PREPARE_DEST_DIR)/share/doc/rust
239+
# This tiny morsel of metadata is used by rust-packaging
240+
$$(Q)echo "$(CFG_VERSION)" > $$(PREPARE_DEST_DIR)/version
239241

240242
dist/$$(PKG_NAME)-$(1).tar.gz: dist-install-dir-$(1)
241243
@$(call E, build: $$@)

trunk/mk/install.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ endif
2828
# Remove tmp files because it's a decent amount of disk space
2929
$(Q)rm -R tmp/dist
3030

31+
ifeq ($(CFG_DISABLE_DOCS),)
32+
prepare_install: dist/$(PKG_NAME)-$(CFG_BUILD).tar.gz dist/$(DOC_PKG_NAME)-$(CFG_BUILD).tar.gz | tmp/empty_dir
33+
else
3134
prepare_install: dist/$(PKG_NAME)-$(CFG_BUILD).tar.gz | tmp/empty_dir
35+
endif
3236

3337
uninstall:
3438
ifeq (root user, $(USER) $(patsubst %,user,$(SUDO_USER)))

trunk/src/compiletest/compiletest.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ extern crate regex;
2222
use std::os;
2323
use std::io;
2424
use std::io::fs;
25-
use std::str::FromStr;
26-
use std::thunk::{Thunk};
25+
use std::str::{FromStr, from_str};
26+
use std::thunk::Thunk;
2727
use getopts::{optopt, optflag, reqopt};
2828
use common::Config;
2929
use common::{Pretty, DebugInfoGdb, DebugInfoLldb, Codegen};

trunk/src/doc/guide-ffi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,8 @@ them.
450450
451451
~~~no_run
452452
extern crate libc;
453+
454+
use std::c_str::ToCStr;
453455
use std::ptr;
454456
455457
#[link(name = "readline")]

trunk/src/doc/guide-tasks.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ getting the result later.
206206
The basic example below illustrates this.
207207

208208
```{rust,ignore}
209+
# #![allow(deprecated)]
209210
use std::sync::Future;
210211
211212
# fn main() {
@@ -233,6 +234,7 @@ Here is another example showing how futures allow you to background
233234
computations. The workload will be distributed on the available cores.
234235

235236
```{rust,ignore}
237+
# #![allow(deprecated)]
236238
# use std::num::Float;
237239
# use std::sync::Future;
238240
fn partial_sum(start: uint) -> f64 {

0 commit comments

Comments
 (0)