Commit Graph

36763 Commits

Author SHA1 Message Date
Richo Healey
31d232e204 powerpc: Add support to configure 2015-01-11 21:14:23 -08:00
bors
14f9d1f256 auto merge of #20828 : alexcrichton/rust/issue-20823, r=brson
This will temporarily prevent warnings generated from expanding to code that the
test harness itself uses. This solution will require tweaking around the beta
cycle, but it will prevent spurious warnings for now.

Closes #20823
2015-01-10 00:55:12 +00:00
bors
c133b2110b auto merge of #20776 : kmcallister/rust/macro-cleanup, r=alexcrichton
r? @alexcrichton. This passes tests for me.
2015-01-09 22:15:12 +00:00
Alex Crichton
9cc847d8c3 syntax: Add #[allow(unstable)] to --test expansion
This will temporarily prevent warnings generated from expanding to code that the
test harness itself uses. This solution will require tweaking around the beta
cycle, but it will prevent spurious warnings for now.

Closes #20823
2015-01-09 13:26:21 -08:00
bors
73a25f55ad auto merge of #20815 : brson/rust/installer, r=alexcrichton 2015-01-09 20:10:07 +00:00
Keegan McAllister
a96a8b2b25 Update macro scope intro 2015-01-09 11:06:17 -08:00
Keegan McAllister
128e7ff53b Re-reduce libstd macro duplication
The libstd definitions move to libcore, which causes some minor updates there.
2015-01-09 11:06:17 -08:00
Brian Anderson
df059020c4 Fix revert of rust-installer 2015-01-09 10:19:30 -08:00
bors
b5571ed71a Merge pull request #20800 from jroesch/add-regression-for-issue-20414
Add test for issue #20414

Reviewed-by: alexcrichton
2015-01-09 17:35:11 +00:00
bors
6638242479 Merge pull request #20799 from kud1ing/patch-1
Link to http://rustbyexample.com/

Reviewed-by: steveklabnik
2015-01-09 17:35:11 +00:00
bors
bc492f0cf4 Merge pull request #20793 from ktossell/rustdoc-fixedvector-syntax
Make rustdoc use the `[_; N]` syntax instead of `[_, ..N]`

Reviewed-by: sfackler
2015-01-09 17:35:10 +00:00
bors
87ed884a9c Merge pull request #20699 from vhbit/ios-archs
Better iOS support

Reviewed-by: alexcrichton
2015-01-09 17:35:09 +00:00
Valerii Hiora
577d0dbcb8 iOS: preliminary 64-bit archs support 2015-01-09 18:38:30 +02:00
Valerii Hiora
3fbbc6ea2a Updated compiler-rt 2015-01-09 18:38:30 +02:00
Valerii Hiora
a945f288ff iOS: makefiles and runtime for new archs 2015-01-09 18:38:30 +02:00
Valerii Hiora
ea045d2055 iOS: cabi fixes
Changed alignment according to official Apple docs
2015-01-09 18:38:30 +02:00
Valerii Hiora
ac0607acb2 iOS: fixed test build
Now it is possible to run tests on a jailbroken device
2015-01-09 18:23:42 +02:00
Valerii Hiora
1fb91dc1c2 iOS: updated targets
- target_word_size -> target_pointer_width
- added armv7 and armv7s targets
- enabled building binaries so tests could be run on a jailbroken device
2015-01-09 18:23:42 +02:00
bors
2e2372c6c4 auto merge of #20788 : Zoxc/rust/loader, r=huonw
Fixes #19907
2015-01-09 09:50:06 +00:00
Jared Roesch
2d2159f5b0 Add test for issue #20414 2015-01-08 23:35:17 -08:00
kud1ing
2730075ad4 Link to http://rustbyexample.com/ 2015-01-09 08:25:42 +01:00
bors
20bce44810 auto merge of #20786 : brson/rust/rustdocwarnings, r=huonw
Because we are warning about unstable APIs and there are many
of these yet, this creates a high likelyhood doc tests will
fail.

This doesn't seem right as a blanket policy to me anyway, though
certainly we want it in std. Probably more appropriate to add
a rustdoc option.
2015-01-09 04:14:53 +00:00
John Kåre Alsaker
9dea210730 Make the metadata loader use the appropriate Target structure
Fixes #19907
2015-01-09 04:51:47 +01:00
Ken Tossell
38a1bb13cd Make rustdoc use the [_; N] syntax instead of [_, ..N] 2015-01-08 22:35:08 -05:00
Brian Anderson
a728b4c9b8 rustdoc: Stop adding #[deny(warnings)] to all tests
Because we are warning about unstable APIs and there are many
of these yet, this creates a high likelyhood doc tests will
fail.

This doesn't seem right as a blanket policy to me anyway, though
certainly we want it in std. Probably more appropriate to add
a rustdoc option.
2015-01-08 18:13:20 -08:00
bors
32545a0460 Merge pull request #20779 from brson/prerel
mk: Update prerelase versioning to conform to semver

Reviewed-by: alexcrichton
2015-01-09 01:19:54 +00:00
bors
948d1d004d Merge pull request #20741 from mneumann/dragonfly-pthread-mutex
Fix assertion in Mutex::destroy() on DragonFly (#20698)

Reviewed-by: alexcrichton
2015-01-09 01:19:54 +00:00
bors
e72ad98e46 Merge pull request #20718 from tshepang/bench-fix-some-warnings
bench: fix a few compiler warnings

Reviewed-by: alexcrichton
2015-01-09 01:19:53 +00:00
Brian Anderson
44a287e6eb mk: Add rustbook to source dist 2015-01-08 17:03:40 -08:00
Brian Anderson
1f550b47c2 mk: Update prerelase versioning to conform to semver 2015-01-08 15:33:31 -08:00
bors
6354d60ede Merge pull request #20766 from tsurai/patch-1
doc: Fix unresolved import in Bitv example

Reviewed-by: alexcrichton
2015-01-08 20:59:48 +00:00
bors
bc6e080df5 Merge pull request #20735 from squidpickles/master
Spelling fix compatibel -> compatible

Reviewed-by: Gankro
2015-01-08 20:59:48 +00:00
bors
00b112c45a auto merge of #20760 : alexcrichton/rust/rollup, r=alexcrichton 2015-01-08 18:40:04 +00:00
Alex Crichton
7541f82fab Fix dead links in the guide and reorganize 2015-01-08 10:27:03 -08:00
Cristian Kubis
018730b39a doc: Fix unresolved import in Bitv example 2015-01-08 19:25:53 +01:00
Michael Neumann
b527494d2d Fix destroy assertions in mutex/rwlock/condvar
On DragonFly pthread_{mutex,rwlock,condvar}_destroy() returns EINVAL
when called on a pthread_{mutex,rwlock,condvar}_t that was just
initialized via PTHREAD_{MUTEX,RWLOCK,CONDVAR}_INITIALIZER and not used
in the meantime or initialized via pthread_{mutex,rwlock,condvar}_init().
Change the code to treat a return value of EINVAL on DragonFly as success.
2015-01-08 19:04:34 +01:00
Alex Crichton
483fca9fa5 rollup merge of #20757: nikomatsakis/issue-20624-assoc-types-coherence 2015-01-08 09:32:06 -08:00
Niko Matsakis
d548f3eade Remove silly long line. 2015-01-08 12:30:13 -05:00
Alex Crichton
4281bd1932 rollup merge of #20754: nikomatsakis/int-feature
Conflicts:
	src/test/compile-fail/borrowck-move-out-of-overloaded-auto-deref.rs
	src/test/compile-fail/issue-2590.rs
	src/test/compile-fail/lint-stability.rs
	src/test/compile-fail/slice-mut-2.rs
	src/test/compile-fail/std-uncopyable-atomics.rs
2015-01-08 09:24:08 -08:00
Alex Crichton
8ed88c11af rollup merge of #20751: nikomatsakis/issue-20232
Issue #20232. Fun.

r? @eddyb you prob know this system best
2015-01-08 09:22:10 -08:00
Alex Crichton
6a09aa208f rollup merge of #20746: dotdash/fix_indent
Most of the file lost one level of indentation in a recent rollup. Most
likely an accident during merge conflict resolution.
2015-01-08 09:22:08 -08:00
Alex Crichton
daee409b60 rollup merge of #20740: FlaPer87/remove-opt-out-copy
[breaking-change] code using this feature will break.
2015-01-08 09:22:06 -08:00
Alex Crichton
e40f62d9bf rollup merge of #20738: brson/feature-staging2
This gets rid of the 'experimental' level, removes the non-staged_api
case (i.e. stability levels for out-of-tree crates), and lets the
staged_api attributes use 'unstable' and 'deprecated' lints.

This makes the transition period to the full feature staging design
a bit nicer.
2015-01-08 09:22:03 -08:00
Alex Crichton
6a48b181bd rollup merge of #20736: akiss77/pr-u8-c_char 2015-01-08 09:21:59 -08:00
Alex Crichton
cdc75bc34c rollup merge of #19897: steveklabnik/trpl
An updated version of https://github.com/rust-lang/rust/pull/19461

This version vendors aturon/rust-book@731f7bf and builds it when building the docs. This is almost great, except my `make`-foo is poor, so I have my own personal paths in `mk/docs.mk`. How should I best get around that?

/cc @brson
2015-01-08 09:21:57 -08:00
Niko Matsakis
cc1776ef1e Add another test using projection types in impls. 2015-01-08 12:02:34 -05:00
Niko Matsakis
0d9a11d6ad Normalize types bottom up. Fixes #20666. 2015-01-08 12:02:23 -05:00
Steve Klabnik
16a6ebd1f6 "The Rust Programming Language"
This pulls all of our long-form documentation into a single document,
nicknamed "the book" and formally titled "The Rust Programming
Language."

A few things motivated this change:

* People knew of The Guide, but not the individual Guides. This merges
  them together, helping discoverability.
* You can get all of Rust's longform documentation in one place, which
  is nice.
* We now have rustbook in-tree, which can generate this kind of
  documentation. While its style is basic, the general idea is much
  better: a table of contents on the left-hand side.
* Rather than a almost 10,000-line guide.md, there are now smaller files
  per section.
2015-01-08 12:02:11 -05:00
Niko Matsakis
a661bd6575 Adjust tests to be clearer about the type that results from a shift expression. 2015-01-08 11:26:42 -05:00
Niko Matsakis
75919c554a Rename test to fit naming convention. 2015-01-08 11:16:07 -05:00