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

Rolling up PRs in the queue #20436

Merged
merged 69 commits into from
Jan 2, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
daed54d
Guide changes: Generics and Traits sections
mrhota Dec 7, 2014
17bdc3f
Fixed a small typo
tivervac Dec 25, 2014
c32d03f
std: Stabilize the prelude module
alexcrichton Dec 22, 2014
e76bd7e
Properly deal with Ordering in the guide
steveklabnik Dec 23, 2014
bb8f4fc
fixes
alexcrichton Dec 28, 2014
bc83a00
std: Second pass stabilization for `comm`
alexcrichton Dec 23, 2014
f1b6401
Feature gate FFI imports of LLVM intrinsics
nagisa Dec 30, 2014
714a2c6
fix "make install"
dcrewi Dec 31, 2014
be11aa6
std: Second pass stabilization for thread_local
alexcrichton Dec 30, 2014
a6f5b98
rustc: Re-jigger -L and -l for MSYS compatibility
alexcrichton Dec 31, 2014
d06b705
Fix a bug with cross-crate trait impls
nrc Dec 31, 2014
f9ce6f5
Remove core::iter::MinMaxResult::* public reexport
frewsxcv Jan 1, 2015
b16111f
mk: The doc directory is no longer included in the main package
brson Jan 1, 2015
8aeefbb
Reimplement a minor optimization in String::from_utf8_lossy that avoi…
daramos Jan 1, 2015
637f2c5
Allow travis to use newer-faster infrastructure for building. http://…
daramos Jan 1, 2015
182db6e
Add tests for assoc type issues that have been fixed
Jan 1, 2015
7a11b9a
debuginfo: Fix an ICE related to local variables in unreachable code.
michaelwoerister Jan 1, 2015
77723d2
Implement an iterator for walking types rather than the old callback …
nikomatsakis Dec 26, 2014
d539149
mk: Put the version number somewhere discoverable in the installer
brson Jan 1, 2015
f3a7ec7
std: Second pass stabilization of sync
alexcrichton Dec 29, 2014
e423fcf
std: Enforce Unicode in fmt::Writer
alexcrichton Dec 12, 2014
f2ccdfd
std: Second pass stabilization for `boxed`
alexcrichton Jan 2, 2015
c61a009
Fix orphan checking (cc #19470). (This is not a complete fix of #1947…
nikomatsakis Dec 26, 2014
5c34781
Disable the JSON doctests because they don't pass the new coherence
nikomatsakis Jan 1, 2015
6ed3f24
New coherence tests covering patterns we want to work (and not work).
nikomatsakis Jan 1, 2015
82a2e8e
Fix an infinite loop in the stability check that was the result of
nikomatsakis Jan 2, 2015
74d11d2
Accept `self` in place of `mod` in use items
nrc Dec 31, 2014
f003b43
Change tests to use `self` instead of `mod` in use items
nrc Dec 31, 2014
7506fe5
Accept `derive` instead of `deriving`
nrc Dec 31, 2014
30e1492
Use `derive` rather than `deriving` in tests
nrc Dec 31, 2014
dc53461
Rebasing
nrc Jan 2, 2015
f2a06f7
Make type in ast::Local optional
sanxiyn Jan 2, 2015
4ae7c38
Add a pretty-print test
sanxiyn Jan 2, 2015
4b40bc8
auto merge of #20365 : nick29581/rust/mod, r=huonw
bors Jan 2, 2015
56290a0
std: Stabilize the prelude module
alexcrichton Dec 22, 2014
76e3bc2
Properly deal with Ordering in the guide
steveklabnik Dec 23, 2014
5696ea5
rollup merge of #20157: alexcrichton/issue-20068
alexcrichton Jan 2, 2015
1b3734f
Fix fallout from change, adding explicit `Sized` annotations where ne…
nikomatsakis Dec 18, 2014
5b425c1
Fix fallout in tests.
nikomatsakis Dec 19, 2014
50ed6c1
Do not automatically make `Self` `Sized` in traits.
nikomatsakis Dec 18, 2014
2c1d7a7
Move the `upcast` routine into traits and use it for method selection…
nikomatsakis Dec 20, 2014
19dcecb
Refactor object-safety into its own (cached) module so that we can
nikomatsakis Dec 16, 2014
dabd750
Ensure that, for every trait `Foo`, the predicate `Foo : Foo` holds.
nikomatsakis Dec 23, 2014
a535f2a
Test that we can call unboxed closures with the sugar now. Fixes #16929.
nikomatsakis Dec 28, 2014
704ed4c
Address nits.
nikomatsakis Jan 2, 2015
8b7d032
rollup merge of #20273: alexcrichton/second-pass-comm
alexcrichton Jan 2, 2015
074996d
rollup merge of #20377: alexcrichton/issue-20352
alexcrichton Jan 2, 2015
faf5355
rollup merge of #20382: alexcrichton/isuse-20376
alexcrichton Jan 2, 2015
0101bbe
rollup merge of #20420: alexcrichton/second-pass-boxed
alexcrichton Jan 2, 2015
009ec5d
rollup merge of #20315: alexcrichton/std-sync
alexcrichton Jan 2, 2015
4b0e084
rollup merge of #20354: alexcrichton/second-pass-thread_local
alexcrichton Jan 2, 2015
5bd7a78
rollup merge of #19625: mrhota/guide_traits
alexcrichton Jan 2, 2015
656d5bb
rollup merge of #20227: FlashYoshi/patch-1
alexcrichton Jan 2, 2015
b9a26bf
rollup merge of #20334: nagisa/ffi-llvm
alexcrichton Jan 2, 2015
3cf1992
rollup merge of #20380: dcrewi/fix-make-install
alexcrichton Jan 2, 2015
073fd5b
rollup merge of #20385: nick29581/x-object
alexcrichton Jan 2, 2015
9ca8076
rollup merge of #20386: frewsxcv/rm-reexports
alexcrichton Jan 2, 2015
e80b981
rollup merge of #20388: brson/install-tweaks
alexcrichton Jan 2, 2015
c5b9ffd
rollup merge of #20391: daramos/utf8_lossy
alexcrichton Jan 2, 2015
3dfb29e
rollup merge of #20392: daramos/travis
alexcrichton Jan 2, 2015
b51ff9f
rollup merge of #20404: japaric/at-tests
alexcrichton Jan 2, 2015
4dab967
rollup merge of #20407: michaelwoerister/unreachable-locals
alexcrichton Jan 2, 2015
735c308
rollup merge of #20416: nikomatsakis/coherence
alexcrichton Jan 2, 2015
6f567e0
rollup merge of #20425: sanxiyn/opt-local-ty
alexcrichton Jan 2, 2015
1f2ead1
Merge remote-tracking branch 'origin/master' into rollup
alexcrichton Jan 2, 2015
e921e3f
Rollup test fixes and rebase conflicts
alexcrichton Jan 2, 2015
4459b1d
rollup merge of #20341: nikomatsakis/impl-trait-for-trait-2
alexcrichton Jan 2, 2015
8cf9929
Rebase test fixes v2
alexcrichton Jan 2, 2015
340f3fd
rollup merge of #20410: japaric/assoc-types
alexcrichton Jan 2, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# RVM/bundler/ruby and whatnot. Right now 'rust' as a language actually
# downloads a rust/cargo snapshot, which we don't really want for building rust.
language: c
sudo: false

# The test suite is in general way too stressful for travis, especially in
# terms of time limit and reliability. In the past we've tried to scale things
Expand Down
4 changes: 3 additions & 1 deletion mk/dist.mk
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ distcheck-osx: dist-osx
# Unix binary installer tarballs
######################################################################

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

define DEF_INSTALLER

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

dist/$$(PKG_NAME)-$(1).tar.gz: dist-install-dir-$(1)
@$(call E, build: $$@)
Expand Down
4 changes: 4 additions & 0 deletions mk/install.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ endif
# Remove tmp files because it's a decent amount of disk space
$(Q)rm -R tmp/dist

ifeq ($(CFG_DISABLE_DOCS),)
prepare_install: dist/$(PKG_NAME)-$(CFG_BUILD).tar.gz dist/$(DOC_PKG_NAME)-$(CFG_BUILD).tar.gz | tmp/empty_dir
else
prepare_install: dist/$(PKG_NAME)-$(CFG_BUILD).tar.gz | tmp/empty_dir
endif

uninstall:
ifeq (root user, $(USER) $(patsubst %,user,$(SUDO_USER)))
Expand Down
4 changes: 2 additions & 2 deletions src/compiletest/compiletest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ extern crate regex;
use std::os;
use std::io;
use std::io::fs;
use std::str::FromStr;
use std::thunk::{Thunk};
use std::str::{FromStr, from_str};
use std::thunk::Thunk;
use getopts::{optopt, optflag, reqopt};
use common::Config;
use common::{Pretty, DebugInfoGdb, DebugInfoLldb, Codegen};
Expand Down
2 changes: 2 additions & 0 deletions src/doc/guide-ffi.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,8 @@ them.

~~~no_run
extern crate libc;

use std::c_str::ToCStr;
use std::ptr;

#[link(name = "readline")]
Expand Down
2 changes: 2 additions & 0 deletions src/doc/guide-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ getting the result later.
The basic example below illustrates this.

```{rust,ignore}
# #![allow(deprecated)]
use std::sync::Future;

# fn main() {
Expand Down Expand Up @@ -233,6 +234,7 @@ Here is another example showing how futures allow you to background
computations. The workload will be distributed on the available cores.

```{rust,ignore}
# #![allow(deprecated)]
# use std::num::Float;
# use std::sync::Future;
fn partial_sum(start: uint) -> f64 {
Expand Down