Brian Anderson
3dcb79dac9
Add a regression test for channels of nil, which happens to work in rustc, but not in rustboot
2011-03-22 08:04:47 -07:00
Brian Anderson
c02cdc32a8
Generalize send/recv to work for more types
2011-03-22 08:04:45 -07:00
Brian Anderson
e20e7995ac
Un-XFAIL task-comm-4, 5 & 6
2011-03-22 08:04:43 -07:00
Brian Anderson
39c01c97ba
Fix trans_recv
2011-03-22 08:04:41 -07:00
Brian Anderson
b2ee569c23
Implement trans_send and a broken trans_recv
2011-03-22 08:04:39 -07:00
Brian Anderson
261d1e4c61
Add codegen for ports and chans
2011-03-22 08:04:38 -07:00
Graydon Hoare
7ac885ee8c
Repair some fallout from pcwalton's last few build changes.
2011-03-21 23:06:42 -07:00
Tim Chevalier
1e1ff638a3
Make floating-point operations work (neg, add, sub, mul, div, rem,
...
and comparison ops.)
2011-03-21 18:10:34 -07:00
Tim Chevalier
caa22c9341
Started adding support for floating-point type, floating-point literals, and logging of floats. Other operations on float probably don't work yet.
2011-03-21 18:10:34 -07:00
Patrick Walton
35951c92db
Support CFG_LLVM_ROOT since CMake-built LLVM has no llvm-config
2011-03-21 18:08:57 -07:00
Patrick Walton
e6d3308eb6
Add .def file support to the new build system (which does nothing at the moment since I don't know how to use .defs on MinGW)
2011-03-21 18:05:34 -07:00
Patrick Walton
700c946739
Change llvmext.dll to rustllvm.dll in the new build system to match the def file
2011-03-21 18:03:56 -07:00
Patrick Walton
0943475f37
Add a suitable .def file for rustrt.dll on Windows
2011-03-21 18:01:25 -07:00
Patrick Walton
e56a1720e4
Add a "last" function to return the last element of a vector to the standard library
2011-03-21 17:21:35 -07:00
Patrick Walton
71de17d38e
Add a binding to ftell()
2011-03-21 16:41:18 -07:00
Graydon Hoare
ea1321fcdd
Minor distcheck fixes
2011-03-21 16:16:15 -07:00
Graydon Hoare
7ed7c02111
FIx three $-typos in Makefile.in.
2011-03-21 15:53:08 -07:00
Graydon Hoare
e80c0d5027
Fix CFG_RUN* rules a bit harder. Can now do 'make check' on both boot and stage0 targets.
2011-03-21 15:30:10 -07:00
Rafael Ávila de Espíndola
933c01bd15
Every upcall needs a task pointer to find the C stack. It is just that when
...
handling cdecl call they should skip it when calling the final function.
There is some cleanup to be done on the generated IL, but this gets us
running Hello World for real.
2011-03-21 17:53:11 -04:00
Graydon Hoare
0eb6be13fb
Adjust run rules to avoid early substitution. Testsuite begins to run.
2011-03-21 14:52:02 -07:00
Graydon Hoare
7941b41b6a
Include benchmark dirs in test build dirs.
2011-03-21 14:45:03 -07:00
Graydon Hoare
72f7b11748
Strip leading $(S)/src off built targets in test; s/rustc/stage0/ in a few places.
2011-03-21 14:02:01 -07:00
Graydon Hoare
65974396fa
Fix various pathnames.
2011-03-21 13:42:37 -07:00
Graydon Hoare
5e0ef2a0f2
Port tidy and remainder of pkg/dist rules.
2011-03-21 13:42:37 -07:00
Graydon Hoare
68d76c21c5
Port testing variables.
2011-03-21 13:42:37 -07:00
Rafael Ávila de Espíndola
f3057244a6
Make the wrapper function of native functions private.
2011-03-21 16:02:00 -04:00
Rafael Ávila de Espíndola
12e7feb71c
The T_taskptr is already included in the n_args, don't add it twice.
2011-03-21 15:15:22 -04:00
Patrick Walton
b9bde9fcfa
Merge branch 'ty-serialization'
2011-03-21 12:04:52 -07:00
Patrick Walton
3dec5b5e50
rustc: Remove uses of Unicode in type deserialization and fix vector-push operations
2011-03-21 12:03:34 -07:00
Patrick Walton
a5caa310e4
build: Support spaces in CFG_LDPATH.
2011-03-21 11:56:45 -07:00
Patrick Walton
84c0d8638e
rustc: Update type serialization and deserialization for the "mutable?" change
2011-03-21 11:44:08 -07:00
Marijn Haverbeke
86d05655b4
rustc: Merge in type serialization and deserialization
...
Signed-off-by: Patrick Walton <pcwalton@mimiga.net>
2011-03-21 11:35:04 -07:00
Graydon Hoare
e961f5303d
More conservative rule for clean.
2011-03-21 11:23:19 -07:00
Graydon Hoare
81f3b33bb0
Split R and T so that tests run under valgrind but compiler doesn't.
2011-03-21 11:02:37 -07:00
Graydon Hoare
5f64612a14
Fix misuse of $(S) before definition, to permit running with valgrind suppressions.
2011-03-21 11:02:15 -07:00
Patrick Walton
0366f5ae23
Add some C99 and C++ compatibility headers for MSVC
2011-03-21 10:24:00 -07:00
Rafael Ávila de Espíndola
e687dd5ce7
Make lltaskptr a regular argument element in args in calls to trans_upcall2.
2011-03-21 11:59:14 -04:00
Rafael Ávila de Espíndola
770a49520c
Move calls to PtrToInt out of trans_upcall2.
2011-03-21 11:11:22 -04:00
Graydon Hoare
26ec8831dc
s/DSYMUTIL/CFG_DSYMUTIL/
2011-03-20 21:05:49 -07:00
Graydon Hoare
d22714f70d
Add -lrt to stateN link commands.
2011-03-20 21:05:31 -07:00
Graydon Hoare
4b946cea35
Modify native_item_fn to handle trailing linkage names that differ from the item name (used in win32 build of std.dll)
2011-03-20 20:18:19 -07:00
Graydon Hoare
0c7545c1ce
Switch win32 path_sep to '/', add comment explaining a bit.
2011-03-20 19:43:43 -07:00
Graydon Hoare
460d89156f
Add slightly nicer failure message to io.rs when it can't open a file.
2011-03-20 19:43:41 -07:00
Graydon Hoare
c4e0085291
Fix multi-stage deps, add rules for stage1 and stage2 outputs.
2011-03-20 19:43:39 -07:00
Graydon Hoare
a36b44d33d
Depend %.stage0.exe on %.stage0.o.
2011-03-20 19:43:38 -07:00
Graydon Hoare
d9dc070588
Fix typo.
2011-03-20 19:43:36 -07:00
Patrick Walton
d31bfc8692
rustc: Internalize glue. Cuts libstd size by 8% or so.
2011-03-20 15:05:13 -07:00
Graydon Hoare
4691a75150
Begin porting rules for testsuite execution.
2011-03-20 01:12:26 -07:00
Graydon Hoare
74a585eeb7
Add build rules for stage1.
2011-03-19 22:55:28 -07:00
Graydon Hoare
aa1e331469
Set up dynamic library paths properly in builddir.
2011-03-19 18:34:51 -07:00