Sébastien Marie
91e00f3bfa
unbreak openbsd after nacl intergration
2015-02-25 05:07:40 +01:00
Richard Diamond
949d1fffca
Add cfgs to liblibc
for NaCl targets.
2015-02-21 16:52:58 -06:00
bors
2b01a37ec3
Auto merge of #21959 - dhuseby:bitrig-support, r=brson
...
This patch adds the necessary pieces to support rust on Bitrig https://bitrig.org
2015-02-21 09:20:48 +00:00
Niko Matsakis
2b5720a15f
Remove i
, is
, u
, or us
suffixes that are not necessary.
2015-02-18 09:09:12 -05:00
Huon Wilson
dfc5c0f1e8
Manual merge of #22475 - alexcrichton:rollup, r=alexcrichton
...
One windows bot failed spuriously.
2015-02-18 23:50:21 +11:00
Alex Crichton
47f91a9484
Register new snapshots
2015-02-17 22:04:31 -08:00
bors
6c065fc8cb
Auto merge of #21774 - ejjeong:enable-test-for-android, r=alexcrichton
...
- Now "make check-stage2-T-aarch64-linux-android-H-x86_64-unknown-linux-gnu" works (#21773 )
- Fix & enable debuginfo tests for android (#10381 )
- Fix & enable more tests for android (both for arm/aarch64)
- Enable many already-pass tests on android (both for arm/aarch64)
2015-02-17 19:35:12 +00:00
Valerii Hiora
f89622f84d
Updated darwin types
2015-02-12 18:05:51 +02:00
Alex Crichton
fb1f4d11ec
Even more test fixes
2015-02-11 16:38:02 -08:00
Dave Huseby
551304015b
fixing the macos defines...i picked the wrong one during a merge earlier.
2015-02-11 14:49:15 -08:00
Dave Huseby
4aa499a231
removing unusused timespec import
2015-02-11 14:49:14 -08:00
Dave Huseby
cea7aead33
oops, fixing incorrect _SC_ATEXIT_MAX value
2015-02-11 14:49:12 -08:00
Dave Huseby
47ad1cdf56
fixing PR review comments
2015-02-11 14:49:11 -08:00
Dave Huseby
cd8f31759f
bitrig integration
2015-02-11 14:49:06 -08:00
Alex Crichton
3e10785e21
Test fixes and rebase conflicts
2015-02-10 11:51:38 -08:00
Eunji Jeong
d1e9a76326
Fix aarch64 test issues (same level to arm32)
2015-02-10 15:48:07 +09:00
we
6a2bad3257
int/uint => isize/usize in liblibc/liballoc/libarena
2015-02-09 10:00:46 +03:00
Keegan McAllister
d788588dce
Feature-gate #![no_std]
...
Fixes #21833 .
[breaking-change]
2015-02-07 10:49:58 -08:00
Keegan McAllister
67350bc868
Don't use std:: paths in syntax extensions when compiling a #![no_std] crate
...
Fixes #16803 .
Fixes #14342 .
Fixes half of #21827 -- slice syntax is still broken.
2015-02-07 10:49:57 -08:00
Steven Fackler
85a85c2070
Switch missing_copy_implementations to default-allow
...
This was particularly helpful in the time just after OIBIT's
implementation to make sure things that were supposed to be Copy
continued to be, but it's now creates a lot of noise for types that
intentionally don't want to be Copy.
2015-02-03 23:31:07 -08:00
bors
336c8d2e9c
Auto merge of #21613 - alfie:suffix-small, r=alexcrichton
2015-02-03 07:59:04 +00:00
Alfie John
8f4844d58b
More deprecating of i/u suffixes
2015-02-02 23:37:01 +00:00
Sébastien Marie
3430578460
openbsd: remove unused openbsd code
...
This code is in a block (libc::consts::os) that openbsd don't include
This one is for freebsd and dragonfly. There is another block for openbsd below.
Remove the unneed declaration.
2015-02-01 14:41:41 +01:00
Sébastien Marie
3096784a3b
openbsd: break lines too long
2015-02-01 14:41:39 +01:00
Sébastien Marie
fcb30a0b67
openbsd support
2015-02-01 14:41:38 +01:00
Alex Crichton
3a2530d611
Test fixes and rebase conflicts
...
Also some tidying up of a bunch of crate attributes
2015-01-30 14:53:34 -08:00
Manish Goregaokar
0d1a4ac269
Rollup merge of #21640 - retep998:rmdir, r=alexcrichton
...
`_wrmdir` is literally just a wrapper around `RemoveDirectoryW`, so let's just use `RemoveDirectoryW`.
r? @alexcrichton
2015-01-29 03:04:10 +05:30
Peter Atashian
8f38eae7ad
wrmdir -> RemoveDirectoryW
...
Signed-off-by: Peter Atashian <retep998@gmail.com>
2015-01-25 23:00:21 -05:00
Brian Anderson
63fcbcf3ce
Merge remote-tracking branch 'rust-lang/master'
...
Conflicts:
mk/tests.mk
src/liballoc/arc.rs
src/liballoc/boxed.rs
src/liballoc/rc.rs
src/libcollections/bit.rs
src/libcollections/btree/map.rs
src/libcollections/btree/set.rs
src/libcollections/dlist.rs
src/libcollections/ring_buf.rs
src/libcollections/slice.rs
src/libcollections/str.rs
src/libcollections/string.rs
src/libcollections/vec.rs
src/libcollections/vec_map.rs
src/libcore/any.rs
src/libcore/array.rs
src/libcore/borrow.rs
src/libcore/error.rs
src/libcore/fmt/mod.rs
src/libcore/iter.rs
src/libcore/marker.rs
src/libcore/ops.rs
src/libcore/result.rs
src/libcore/slice.rs
src/libcore/str/mod.rs
src/libregex/lib.rs
src/libregex/re.rs
src/librustc/lint/builtin.rs
src/libstd/collections/hash/map.rs
src/libstd/collections/hash/set.rs
src/libstd/sync/mpsc/mod.rs
src/libstd/sync/mutex.rs
src/libstd/sync/poison.rs
src/libstd/sync/rwlock.rs
src/libsyntax/feature_gate.rs
src/libsyntax/test.rs
2015-01-25 01:20:55 -08:00
Brian Anderson
9758c488a9
Deprecated attributes don't take 'feature' names and are paired with stable/unstable
...
Conflicts:
src/libcore/atomic.rs
src/libcore/finally.rs
src/test/auxiliary/inherited_stability.rs
src/test/auxiliary/lint_stability.rs
2015-01-23 15:50:03 -08:00
Brian Anderson
cd6d9eab5d
Set unstable feature names appropriately
...
* `core` - for the core crate
* `hash` - hashing
* `io` - io
* `path` - path
* `alloc` - alloc crate
* `rand` - rand crate
* `collections` - collections crate
* `std_misc` - other parts of std
* `test` - test crate
* `rustc_private` - everything else
2015-01-23 13:28:40 -08:00
Steve Klabnik
bb80310070
Rollup merge of #21500 - richo:power-fixups, r=alexcrichton
...
When I wrote this code, my janky shim to verify the constants didn't
work as intended.
This fixes everything I've run into since merge, which is hopefully
everything.
2015-01-22 18:10:00 -05:00
Brian Anderson
d3c0bb416e
Put #[staged_api] behind the 'staged_api' gate
2015-01-22 13:47:56 -08:00
Richo Healey
48aa068286
powerpc: Fix liblibc
...
When I wrote this code, my janky shim to verify the constants didn't
work as intended.
This fixes everything I've run into since merge, which is hopefully
everything.
2015-01-21 22:46:16 -08:00
Brian Anderson
41278c5441
Remove 'since' from unstable attributes
2015-01-21 19:25:55 -08:00
Brian Anderson
7b73ec4698
Tie stability attributes to feature gates
2015-01-21 16:16:21 -08:00
Brian Anderson
94ca8a3610
Add 'feature' and 'since' to stability attributes
2015-01-21 16:16:18 -08:00
Alex Crichton
a6780d8c6b
rollup merge of #21414 : ejjeong/aarch64-linux-android
...
Initial support for aarch64-linux-android (#18920 )
- Add new configuration files
- Modify some options to compile & link succesfully.
(PIE, disable tls on jemalloc, modify some external function linkage, ..)
- To build, refer to https://github.com/rust-lang/rust/wiki/Doc-building-for-android .
(tested with platform=21 and toolchain=aarch64-linux-android-4.9)
2015-01-21 09:15:59 -08:00
Eunji Jeong
940080501b
Initial support for aarch64-linux-android
2015-01-20 17:43:15 +09:00
Peter Atashian
b57662aed7
Fix HMODULE
...
Signed-off-by: Peter Atashian <retep998@gmail.com>
2015-01-19 03:43:44 -05:00
bors
bd8a43c668
Auto merge of #21267 - danslapman:master, r=alexcrichton
...
This patch fixes IP_ADD_MEMBERSHIP problem described here: https://github.com/rust-lang/rust/issues/20381
I've tested on my ProbeR project, everything seems ok.
2015-01-19 01:45:36 +00:00
Brian Anderson
6f3a80e411
Set allow(unstable) in crates that use unstable features
...
Lets them build with the -dev, -nightly, or snapshot compiler
2015-01-17 16:38:04 -08:00
Steve Klabnik
868669f420
Add note about libc::exit's unsafety.
...
Fixes #19245 .
2015-01-17 10:49:49 -05:00
Daniil Smirnov
89de6926b5
Fixes join_multicast
on Windows #20381
2015-01-17 01:37:07 +03:00
Richo Healey
7776820a03
powerpc: definition support for libc
2015-01-11 21:15:06 -08: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
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
Huon Wilson
4f5a57e80e
Remove warning from the libraries.
...
This adds the int_uint feature to *every* library, whether or not it
needs it.
2015-01-08 11:02:23 -05:00
Brian Anderson
1f70acbf4c
Improvements to feature staging
...
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 03:07:23 -08:00