Brian Anderson
f8a4d09f7e
std: Use the same task failure message as C++ rt
2013-07-02 16:04:45 -07:00
Brian Anderson
75a913fa03
Merge remote-tracking branch 'toddaaro/niots'
...
Conflicts:
src/libstd/rt/sched.rs
2013-07-02 15:50:41 -07:00
toddaaro
0607178280
A missing ! made it so that the testcase schedule_home_states was throwing spurious assert failures. Why this did not result in the test case failing previously is beyond me.
2013-07-02 11:44:51 -07:00
Brian Anderson
6fd15ffbf9
std::rt: Ignore homed task tests
2013-07-02 11:15:56 -07:00
toddaaro
27818ea7c4
removed unnecessary import that slipped in during merge
2013-07-01 16:51:59 -07:00
toddaaro
062bfd310a
merging task/coroutine refactoring back into upstream
2013-07-01 16:41:17 -07:00
Brian Anderson
0e07c8d249
rt: Add global_args_lock functions to rustrt.def.in
2013-07-01 16:38:17 -07:00
toddaaro
5cfad4b6de
Refactored the runtime to view coroutines as a component of tasks, instead of tasks as a component of coroutines.
2013-07-01 16:14:56 -07:00
Brian Anderson
ddbccecc27
std::rt: Some cleanup
2013-06-26 17:00:42 -07:00
Brian Anderson
e65d0cbabe
extra: Make test runner compatible with newsched
2013-06-24 17:07:03 -07:00
Brian Anderson
d071f51cdc
std::rt: deny(unused_unsafe)
2013-06-24 17:07:03 -07:00
Brian Anderson
b530ca1033
std: Make unlinking and task notification work with newsched
2013-06-24 17:07:03 -07:00
Brian Anderson
5e7c5d6c3d
std: Make box annihilator work with newsched
2013-06-24 17:07:03 -07:00
Brian Anderson
a09972db35
std: Move dynamic borrowck code from unstable::lang to rt::borrowck
2013-06-24 17:07:03 -07:00
Brian Anderson
aa9210d25a
std: Rewrite vec_reserve_shared_actual in Rust
2013-06-24 17:07:01 -07:00
Brian Anderson
95eb01957b
std: Make console log off/on controls work with newsched
2013-06-21 16:52:07 -07:00
Brian Anderson
1b7c99655f
std::rt: Support os::args
2013-06-21 14:42:15 -07:00
Brian Anderson
7a9a6e4591
std: Port SharedChan to newsched
2013-06-20 18:26:56 -07:00
Brian Anderson
357f087786
Merge remote-tracking branch 'brson/io' into io-upstream
...
Conflicts:
src/rt/rust_builtin.cpp
src/rt/rustrt.def.in
2013-06-20 12:17:00 -07:00
Brian Anderson
4d39253a96
std::rt: Whitespace
2013-06-20 12:16:04 -07:00
Brian Anderson
bbf5469b75
Merge remote-tracking branch 'brson/io-wip' into io
2013-06-20 11:26:29 -07:00
James Miller
adeb7e77cc
Update snapshots.txt
2013-06-21 02:45:35 +12:00
James Miller
229a88217f
librust: cleanup warnings (except 1)
2013-06-21 02:43:03 +12:00
James Miller
4e3b196670
libextra: cleanup warnings
2013-06-21 02:43:03 +12:00
James Miller
b6ecf60d89
libsyntax: cleanup warnings
2013-06-21 02:43:03 +12:00
James Miller
0702e53576
libstd: cleanup warnings
2013-06-21 02:43:02 +12:00
James Miller
3bc4d1a120
Remove all #[cfg(stage0)]-protected code
...
New snapshot means this can all go. Also removes places that have
comments that say they are workarounds for stage0 errors.
2013-06-21 02:43:02 +12:00
James Miller
6759ce4fd2
_Actually_ xfail debuginfo tests
2013-06-21 00:23:42 +12:00
James Miller
3acdbfd2c8
ignore inherited environment test under valgrind r=snapshot
2013-06-20 22:43:21 +12:00
James Miller
f5036c24df
xfail box-related debug-info tests r=snapshot
2013-06-20 22:03:05 +12:00
James Miller
7375e94289
core -> extra for mac
2013-06-20 20:47:22 +12:00
James Miller
82ba030a4f
Ignore rustpkg tests
2013-06-20 18:07:06 +12:00
James Miller
433c86554c
Fix update snapshot script for rename
2013-06-20 15:10:08 +12:00
Luqman Aden
73c1839579
libsyntax: Remove drop
as a keyword.
2013-06-20 14:34:22 +12:00
Brian Anderson
391bb0b4e7
std: Make newsched failures log correctly
2013-06-19 18:37:50 -07:00
Brian Anderson
5086c0850e
std::rt: Update GC metadata in init
2013-06-19 16:08:07 -07:00
Brian Anderson
b548c781aa
Merge pull request #3 from toddaaro/io
...
Updated a match expression to use an enum instead of dispatching on an integer
2013-06-19 15:32:53 -07:00
toddaaro
753b497b4e
Modified a match in resume_task_from_queue that was returning an int that was then matched on to instead use an enum.
2013-06-19 15:23:14 -07:00
Brian Anderson
b7a6919899
rustc: Dispose of LLVM passes in test cases
2013-06-19 15:18:25 -07:00
Brian Anderson
e1555f9b56
std::rt: Document and cleanup the run function
2013-06-19 01:13:56 -07:00
Brian Anderson
5722c953e5
std::rt: Correct the numbers of default cores
2013-06-19 00:49:05 -07:00
Brian Anderson
915aaa7f67
std::rt: Set the process exit code
2013-06-19 00:39:10 -07:00
Brian Anderson
1120f8c1e5
std::rt: Work around a dynamic borrowck bug
2013-06-18 23:20:53 -07:00
Brian Anderson
fb2765eebd
rusti: Disable tests on macos harder
2013-06-18 22:17:58 -07:00
Brian Anderson
7f55fc33f0
std: Work around some failing 'run' tests when valgrinding. #7224
...
Under valgrind on 64->32 cross compiles the dynamic linker is emitting
some error messages on stderr, which interferes with the tests that
are checking stderr.
2013-06-18 19:52:05 -07:00
Graydon Hoare
04b1dbabf5
rusti: disable tests on 32bit mac. r=burningtree.
2013-06-18 16:43:49 -07:00
Brian Anderson
29ad8e15a2
std::rt: Improve the rtabort! macro
2013-06-18 16:27:48 -07:00
Graydon Hoare
2e41689501
xfail std::num::complex::test_norm on x86, r=burningtree.
2013-06-18 14:48:48 -07:00
Graydon Hoare
d904c72af8
replace #[inline(always)] with #[inline]. r=burningtree.
2013-06-18 14:48:48 -07:00
Brian Anderson
303d7bfc87
test: xfail bench/task-perf-one-million. OOM on 32-bit linux w/o opts
2013-06-18 13:29:31 -07:00