Skip to content

Commit 46065bd

Browse files
committed
---
yaml --- r: 168575 b: refs/heads/batch c: b51ff9f h: refs/heads/master i: 168573: 0e35fa5 168571: 308e409 168567: 8b02c6a 168559: 5b6f28d 168543: 4d91094 168511: a71433b 168447: 8d09a69 v: v3
1 parent 0977f34 commit 46065bd

File tree

450 files changed

+5044
-4612
lines changed

Some content is hidden

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

450 files changed

+5044
-4612
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/issue-18208-method-dispatch-2: 9e1eae4fb9b6527315b4441cf8a0f5ca911d1671
3030
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32-
refs/heads/batch: 182db6e7f884bba3fb9f70cead259994c3c45722
32+
refs/heads/batch: b51ff9f06a3f6acdb8fb3641afedce69cde748ad
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970

branches/batch/.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

branches/batch/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: $$@)

branches/batch/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)))

branches/batch/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};

branches/batch/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")]

branches/batch/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)