Luqman Aden
d8ab47e7f9
Properly handle input operands for inline asm.
2013-03-15 18:55:43 -07:00
Luqman Aden
6d078db952
Actually pass inline asm operands around.
2013-03-15 18:55:43 -07:00
Luqman Aden
471d2b1765
Inline asm exprs should be RvalueStmtExpr.
2013-03-15 18:55:43 -07:00
Daniel Micay
d856215b92
add a test for the chunk function
2013-03-15 21:45:08 -04:00
bors
5a77a10488
auto merge of #5400 : thestinger/rust/misc, r=brson
2013-03-15 18:30:45 -07:00
Graydon Hoare
0942c80272
core: fix trie chunk function
2013-03-15 21:12:17 -04:00
Daniel Micay
98900d55e7
add constructor to TrieSet (was missing)
2013-03-15 21:03:29 -04:00
bors
4ad9e5c0c2
auto merge of #5396 : ILyoan/rust/fix_rt_tls, r=graydon
...
Add a conditional compile option for android
2013-03-15 17:18:44 -07:00
bors
6859a6d9a3
auto merge of #5391 : brson/rust/to-bytes, r=graydon
...
r?
I want to use this function as a method. There's probably a better way to design this but the existing `ToBytes` trait is not what I am looking for (it has a parameter to indicate the byte order).
2013-03-15 16:15:47 -07:00
Ben Striegel
ee5842494a
Clonify some of run-pass
2013-03-15 18:27:15 -04:00
Ben Striegel
748c2c9ebc
impl Clone for ~T, ~[T], ~str
2013-03-15 18:26:59 -04:00
bors
e75a843efa
auto merge of #5357 : jbclements/rust/add-nonempty-span-encoding, r=jbclements
...
r? @nikomatsakis
r? @erickt
Before this change, encoding an object containing a codemap::span
using the JSON encodeng produced invalid JSON, for instance:
[{"span":,"global":false,"idents":["abc"]}]
Since the decoder for codemap::span's ignores its argument, I
conjecture that this will not damage decoding, and should improve
it for many decoders.
2013-03-15 15:06:47 -07:00
bors
2b059c6e56
auto merge of #5354 : ILyoan/rust/normalize_triple, r=graydon
...
LLVM could not recognize target-os when target-triple was given as like 'arm-linux-androideabi'.
Normalizing target-triple fill the missing elements.
In the case of 'arm-linux-androideabi', nomalized target-triple will be "arm-unknown-linux-androideabi" and this let llvm recognize the triple correctly. (arch: arm, vendor: unknown, os: linux, environment: android)
2013-03-15 14:15:50 -07:00
Daniel Micay
2b6614f2e6
treemap: use each_mut instead of mutate
2013-03-15 14:14:03 -04:00
Daniel Micay
88278f9c35
treemap: rm old FIXME
2013-03-15 14:12:45 -04:00
Daniel Micay
b3ee49c7e2
deque: add documentation
2013-03-15 14:05:27 -04:00
bors
c724dae7de
auto merge of #5395 : thestinger/rust/iter, r=pcwalton
2013-03-15 09:21:56 -07:00
John Clements
4bd26481c4
Update test case to conform to new restrictions on casting
2013-03-15 09:17:49 -07:00
John Clements
b5ace4df45
Test case fixup (old one tested the old bad behavior).
2013-03-15 08:44:21 -07:00
John Clements
fdf8543cf6
add nonempty encoding for spans
...
Before this change, encoding an object containing a codemap::span
using the JSON encodeng produced invalid JSON, for instance:
[{"span":,"global":false,"idents":["abc"]}]
Since the decoder for codemap::span's ignores its argument, I
conjecture that this will not damage decoding, and should improve
it for many decoders.
2013-03-15 08:44:21 -07:00
ILyoan
10df2ea9db
Normalize target triple so that llvm can recognize target os correctly
2013-03-15 15:39:58 +09:00
ILyoan
1a6a37e01a
Fix an android compilation fail
2013-03-15 15:35:39 +09:00
bors
19bb16650f
auto merge of #5375 : z0w0/rust/rustdoc-private-hide, r=thestinger
2013-03-14 21:48:49 -07:00
Daniel Micay
a49ccee68e
MutableIter impl for Option + use it in treemap
2013-03-14 23:44:25 -04:00
bors
73b253dc80
auto merge of #5371 : thestinger/rust/hidden, r=pcwalton
2013-03-14 20:06:44 -07:00
bors
c3fe0b97de
auto merge of #5369 : thestinger/rust/iter, r=z0w0
...
This can eventually be implemented on other sequence containers like `deque` (it's missing `each` too at the moment).
2013-03-14 19:06:47 -07:00
Brian Anderson
38ac809cc7
core: Add to_bytes method to StrSlice trait
2013-03-14 18:08:55 -07:00
bors
4bf5ad63f0
auto merge of #5367 : brson/rust/5299, r=thestinger
...
r?
2013-03-14 17:51:47 -07:00
bors
82f1b2cc9d
auto merge of #5366 : tedhorst/rust/threadring, r=brson
2013-03-14 16:57:48 -07:00
bors
0c7aeddb5f
auto merge of #5365 : thestinger/rust/map, r=catamorphism
2013-03-14 15:06:49 -07:00
bors
2293b075b8
auto merge of #5364 : xenocons/rust/patch-1, r=z0w0
2013-03-14 14:07:01 -07:00
bors
b778ec9282
auto merge of #5360 : thestinger/rust/doc, r=graydon
...
* make the changes regarding move semantics clearer
* expand on the container work
2013-03-14 12:22:05 -07:00
bors
9416ac5601
auto merge of #5355 : yichoi/rust/pull-0314, r=graydon
...
ar in rt.mk should be desinated by target-triples.
lt has been worked on linux but failed on mac
2013-03-14 11:25:02 -07:00
Patrick Walton
da9c6d9ba6
test: Remove deprecated features from benchmark tests. rs=burningtree
2013-03-14 11:22:14 -07:00
Patrick Walton
1c8490b0d9
librustc: Remove another deprecated use of as Trait
. rs=burningtree
2013-03-14 08:03:05 -07:00
Zack Corr
387aa3668a
rustdoc: Filter out private definitions. Closes #3538
2013-03-14 17:21:48 +10:00
Zack Corr
4f238503d8
rustdoc: Document explicit self in methods. Closes #5254
2013-03-14 16:43:17 +10:00
Patrick Walton
50d99e0194
libsyntax: Remove a use of deprecated Encodable from libsyntax. rs=burningtree
2013-03-13 21:54:51 -07:00
Patrick Walton
58f248d923
test: Fix tests. rs=tests
2013-03-13 20:08:35 -07:00
Patrick Walton
aa4c19b6ab
librustc: Allow path-qualified constants in patterns
2013-03-13 20:07:11 -07:00
Patrick Walton
2ccc6e0a57
librustc: Don't require the "static" keyword to define a static method
2013-03-13 20:07:11 -07:00
Patrick Walton
ac60d53c65
test: Some test fixes
2013-03-13 20:07:11 -07:00
Patrick Walton
8fa66e8e07
librustc: Remove implicit self from the language, except for old-style drop blocks.
2013-03-13 20:07:10 -07:00
Patrick Walton
a410652bc9
librustc: Remove "base types" from the language.
2013-03-13 20:07:09 -07:00
Patrick Walton
b85158e23a
librustc: Remove overloaded operator autoderef.
2013-03-13 20:07:09 -07:00
Patrick Walton
b1c699815d
librustc: Don't accept as Trait
anymore; fix all occurrences of it.
2013-03-13 20:07:09 -07:00
Patrick Walton
24a0de4e7f
librustc: Separate out trait storage from evec/estr storage
2013-03-13 20:07:08 -07:00
bors
3cee6763d1
auto merge of #5336 : ILyoan/rust/remove_unused, r=sanxiyn
...
Remove unused imports to get rid of warnings.
2013-03-13 20:03:52 -07:00
Daniel Micay
e4f5866c10
rm FIXME from use of #[doc(hidden)] on pub mod
2013-03-13 22:12:55 -04:00
Daniel Micay
968e0ddc60
hide the linkhack module in the docs
2013-03-13 22:12:43 -04:00