Patrick Walton
e95996399f
libsyntax: Remove some more @fn
s from the macro expander
2013-09-23 18:23:21 -07:00
Patrick Walton
6a8169db0a
libsyntax: Remove some more @fn
uses
2013-09-23 18:23:20 -07:00
Patrick Walton
d126be068b
librustpkg: Fix diagnostic invocation syntax in librustdoc, librusti, and librustpkg.
2013-09-23 18:23:20 -07:00
Patrick Walton
6ecbd75843
librustc: Change the ID visitor to use traits instead of garbage-collected functions.
2013-09-23 18:23:20 -07:00
Patrick Walton
37c32e2495
librustc: Remove the remaining direct uses of @fn
from librustc.
2013-09-23 18:23:20 -07:00
Patrick Walton
1676e77db2
librustc: Remove garbage-collected functions from util/common.
2013-09-23 18:23:20 -07:00
Patrick Walton
7796d519f9
librustc: Don't use garbage-collected closures to store cleanups.
2013-09-23 18:23:19 -07:00
Patrick Walton
16e87cb527
librustc: Make the fall-through case in match not use garbage collected functions
2013-09-23 18:23:18 -07:00
Patrick Walton
15ce791ff5
librustc: Port the pretty printer annotation infrastructure to use traits instead of garbage collected functions.
2013-09-23 18:23:18 -07:00
Patrick Walton
33993535ef
librustc: Remove garbage collected functions from front/{config,test} and metadata/{tydecode,tyencode}
2013-09-23 18:23:17 -07:00
Patrick Walton
3e5de06135
librustc: Change fold to use traits instead of @fn
.
2013-09-23 18:23:17 -07:00
bors
348d844673
auto merge of #9444 : alexcrichton/rust/ignore-some-tests, r=thestinger
...
They're blocking a new snapshot and @catamorphism is on it.
2013-09-23 17:36:04 -07:00
Alex Crichton
a47cdc0f87
Ignore some rustpkg tests for now
...
They're blocking a new snapshot and @catamorphism is on it.
2013-09-23 17:26:04 -07:00
Felix S. Klock II
7eed184dbb
visit::Visitor refactor: replace (&mut BorrowckVisitor, @BorrowckCtxt) with &mut BorrowckCtxt.
2013-09-24 01:56:25 +02:00
bors
9705399504
auto merge of #9301 : luqmana/rust/ncm, r=brson
...
Get rid of the crate_map arg!
r? @brson
2013-09-23 15:46:05 -07:00
Luqman Aden
20a10ff9c9
Find the cratemap at runtime on windows.
2013-09-23 18:26:16 -04:00
Steve Klabnik
06b11ba172
Add rustpkg tutorial to the official tutorials.
...
Three things in this commit:
1. Actually build the rustpkg tutorial. I didn't know I needed this when
I first wrote it.
2. Link to it rather than the manual from the
tutorial.
3. Update the headers: most of them were one level too deeply
nested.
2013-09-23 14:36:38 -07:00
bors
2e77c25e0d
auto merge of #9438 : brson/rust/relnotes, r=thestinger
2013-09-23 14:26:04 -07:00
Brian Anderson
9969b573c1
More 0.8 release notes
2013-09-23 14:17:58 -07:00
Jesse Ray
13571af92f
Added is_control function, method, and tests.
2013-09-23 17:10:48 -04:00
Alex Crichton
5a78b54586
Disable zlib/libffi when configuring LLVM
...
This should help bring fewer dependencies in to the snapshots.
Closes #9397
2013-09-23 10:07:22 -07:00
bors
eb55348a7c
auto merge of #9423 : madjar/rust/patch-1, r=alexcrichton
...
Just something I noticed while reading the tutorial.
2013-09-23 09:20:56 -07:00
bors
5b6ef09046
auto merge of #9398 : Kimundi/rust/work1, r=huonw
2013-09-23 05:40:54 -07:00
Marvin Löbel
bb7bc6c584
Extended the module tutorial section about files a bit
2013-09-23 16:33:11 +02:00
Georges Dubus
90e1e8fc40
Fixed a small typo in the tutorial
...
Just something I noticed while reading the tutorial.
2013-09-23 10:04:48 +02:00
bors
80e096830d
auto merge of #9422 : alexcrichton/rust/fix-link, r=thestinger
...
This makes clicking on the logo do what you'd expect.
2013-09-23 00:20:51 -07:00
bors
03e5e96315
auto merge of #9385 : alexcrichton/rust/actually-ndebug, r=pnkfelix
...
Turns out that even if the default is "enabled", that doesn't mean that the
CFG_ENABLE_DEBUG variable will be defined. Instead, test whether
CFG_DISABLE_DEBUG is defined and disable debug things if that's the case.
2013-09-22 22:20:50 -07:00
bors
40834a0c23
auto merge of #9413 : bytbox/rust/master, r=alexcrichton
2013-09-22 20:20:52 -07:00
Alex Crichton
83499d1a89
Place *all* rustdoc output in doc/{crate}
2013-09-22 20:09:42 -07:00
Daniel Micay
8c45423a8a
touch LLVM clean trigger
2013-09-22 22:48:40 -04:00
Scott Lawrence
a5cf9fdb61
Add docs for extra::semver
2013-09-22 20:23:45 -04:00
bors
33e913d9cf
auto merge of #9412 : thestinger/rust/no_starve_xfail, r=cmr
...
this is still broken on the bsd builder, perhaps because it has 1 core
2013-09-22 15:30:51 -07:00
Daniel Micay
bc34a3416b
disable starvation test completely for now
...
this is still broken on the bsd builder, perhaps because it has 1 core
2013-09-22 18:25:59 -04:00
bors
cd2da7d5f3
auto merge of #9389 : poiru/rust/issue-9333, r=alexcrichton
...
Closes #9333 .
2013-09-22 12:45:52 -07:00
bors
be5db48bee
auto merge of #9408 : thestinger/rust/valgrind, r=alexcrichton
2013-09-22 11:10:52 -07:00
Daniel Micay
11a8b3d028
disable scheduler starvation test on valgrind
2013-09-22 13:52:32 -04:00
Alex Crichton
0442764a9b
Actually default rustc to have debug! output
...
Turns out that even if the default is "enabled", that doesn't mean that the
CFG_ENABLE_DEBUG variable will be defined. Instead, test whether
CFG_DISABLE_DEBUG is defined and disable debug things if that's the case.
2013-09-22 10:42:50 -07:00
bors
f6e28d1f45
auto merge of #9402 : alexcrichton/rust/no-ng, r=thestinger
...
Removes old rustdoc, moves rustdoc_ng into its place instead (plus drops the _ng
suffix). Also shreds all reference to rustdoc_ng from the Makefile rules.
Nothin like deleting 7k lines from a repo!
2013-09-22 09:55:52 -07:00
Alex Crichton
7b24efd6f3
rustdoc: Out with the old, in with the new
...
Removes old rustdoc, moves rustdoc_ng into its place instead (plus drops the _ng
suffix). Also shreds all reference to rustdoc_ng from the Makefile rules.
2013-09-22 09:51:15 -07:00
bors
5f6a8ae966
auto merge of #9362 : huonw/rust/rand, r=alexcrichton
...
First steps on toward a shiny new `std::rand`, this does a variety of relatively clean-up tasks, like:
- moving `std/rand.rs` to `std/rand/mod.rs` in preparation for (e.g.) splitting the large chunk that is the `Isaac` implementation into a separate file later.
- removing the now unused RNG code in the old rt (500 lines gone just like that!)
- merging Rng and RngUtil via default methods
- examples in the documentation for almost all methods.
And other things mentioned in the commit messages.
2013-09-22 07:15:54 -07:00
Huon Wilson
0951313c1e
Remove the C(++) ISAAC Rng from the old rt.
...
This has to leave rust_gen_seed and rng_gen_seed around since they're
used to initialise the std::rand RNGs.
2013-09-23 00:11:43 +10:00
Huon Wilson
fb923c7d3f
std: merge rand::{Rng,RngUtil} with default methods.
...
Also, documentation & general clean-up:
- remove `gen_char_from`: better served by `sample` or `choose`.
- `gen_bytes` generalised to `gen_vec`.
- `gen_int_range`/`gen_uint_range` merged into `gen_integer_range` and
made to be properly uniformly distributed. Fixes #8644 .
Minor adjustments to other functions.
2013-09-23 00:11:42 +10:00
Huon Wilson
884c1e112d
std: move rand.rs to rand/mod.rs.
2013-09-22 21:39:23 +10:00
blake2-ppc
4cd3c5c72f
std::result: Remove function map_opt
...
This function has never had any users in the tree
2013-09-22 13:09:18 +02:00
Birunthan Mohanathas
2ab278f130
Reserve the alignof
, offsetof
, and sizeof
keywords
...
Closes #9333 .
2013-09-22 10:47:36 +03:00
bors
07167826d6
auto merge of #9395 : brson/rust/0.8, r=alexcrichton
2013-09-22 00:25:56 -07:00
bors
eabcb39f8d
auto merge of #9401 : bytbox/rust/master, r=thestinger
...
Along with a tiny bit of cleanup in rust.vim.
2013-09-21 22:20:56 -07:00
Scott Lawrence
72633a2af2
Remove 'copy' from syntax files, as it's no longer a keyword
2013-09-22 00:29:45 -04:00
bors
d72e3328ac
auto merge of #9399 : brson/rust/tinfo, r=thestinger
...
The right way to link to terminfo varies by linux distribution, so
this is making our snapshots less compatible.
2013-09-21 20:40:55 -07:00
bors
11f68f51f0
auto merge of #9353 : brson/rust/sched, r=alexcrichton,cmr
...
This guarantees that if there is work to do it will be found
2013-09-21 18:31:01 -07:00