Tim Chevalier
23e23bd762
Further support for floating-point. Literals with exponents work
...
and literals with the 'f32' or 'f64' suffixes work as well. In
addition, logging things with the f32 or f64 type works. (float is
still assumed to be a synonym for f64).
2011-03-22 17:31:27 -07:00
Patrick Walton
804771510e
Add a test case for empty mutable vector literals, XFAIL'd in rustboot
2011-03-22 16:48:00 -07:00
Tim Chevalier
8556b2c1ad
Added test case for floats
2011-03-22 09:42:31 -07:00
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
e20e7995ac
Un-XFAIL task-comm-4, 5 & 6
2011-03-22 08:04:43 -07:00
Graydon Hoare
7ac885ee8c
Repair some fallout from pcwalton's last few build changes.
2011-03-21 23:06:42 -07:00
Patrick Walton
2ef9c01ffc
rustc: Implement "mutable?". Add a test case and XFAIL it in rustboot for now.
2011-03-18 11:49:47 -07:00
Patrick Walton
ea7197e2cf
rustc: Add str_from_cstr() and str_from_buf() functions to the standard library, as well as a test case
2011-03-16 18:42:08 -07:00
Graydon Hoare
85c073dd3e
Disable built-in rules in makefile, speed up win32 build.
2011-03-16 15:21:57 -07:00
Graydon Hoare
54587bdccb
Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. Tweak std lib vec fns in process.
2011-03-16 14:58:02 -07:00
Patrick Walton
736969f9fe
rustc: Add support for LLVM memory buffer creation via a wrapper function
2011-03-15 14:58:11 -07:00
Graydon Hoare
400df70643
Improve depfile generation for rustc.
2011-03-15 12:24:18 -07:00
Graydon Hoare
6cfeac8373
Fix ld flag order for fussy win32 linker.
2011-03-15 10:55:25 -07:00
Patrick Walton
6670a63f62
llvmext: Add Mach-O object file reading support to LLVM's BFD workalike
2011-03-14 18:22:51 -07:00
Graydon Hoare
316158df8e
Bump LLVM version strings to 3.0svn, we're effectively tied to it now anyways.
2011-03-14 17:33:06 -07:00
Brian Anderson
c5721759bb
Add fannkuchredux shootout benchmark
2011-03-14 15:52:48 -07:00
Brian Anderson
cba00ac2a1
Rename binary trees benchmark to match the original shootout source
2011-03-14 15:52:48 -07:00
Brian Anderson
467b9f3908
Implement the rest of the binary trees shootout benchmark
2011-03-14 15:52:48 -07:00
Brian Anderson
97245edd80
Add 99-bottles benchmarks to testsuite
2011-03-14 15:52:48 -07:00
Brian Anderson
8438eca45c
Integrate shootout benchmarks into testsuite
2011-03-14 15:52:48 -07:00
Brian Anderson
242ecd0e96
Reorganize makefile targets
2011-03-14 15:52:48 -07:00
Marijn Haverbeke
ea5dc54c3f
Add functionality for running external programs to the std lib
...
See lib/run_program.rs.
2011-03-14 14:57:13 -07:00
Patrick Walton
fdc22ef1a1
Add llvmext/include to the list of include directories to hopefully put out the burning tinderbox
2011-03-11 18:20:13 -08:00
Patrick Walton
57c2fa9d11
Rename libsupport to librustllvm
2011-03-11 18:17:57 -08:00
Patrick Walton
d34e1ff89e
rustc: Add a binding to LLVM's object file reader. Until it's sent upstream, add an explicit "support" library for our LLVM extensions.
2011-03-11 18:03:00 -08:00
Graydon Hoare
a8fbb53d64
Include glob in crate depfile deps, to handle file-add events with cached depfiles. Closes #269 .
2011-03-11 16:16:35 -08:00
Graydon Hoare
d24acf733a
Remove redundant entry from Makefile
2011-03-11 15:49:56 -08:00
Patrick Walton
1feaf8ffb5
Re-XFAIL size-and-align.rs to put out burning tinderbox
2011-03-11 14:33:54 -08:00
Patrick Walton
6392bd1681
rustc: Load structural loop variables in iterators. Un-XFAIL foreach-put-structured.rs.
2011-03-11 14:29:45 -08:00
Patrick Walton
5c21f03990
rustc: Un-XFAIL test/run-pass/foreach-simple-outer-slot.rs
2011-03-11 13:48:25 -08:00
Graydon Hoare
fc7cbe31f9
Switch rustboot from element-wise copying to take+drop+memcpy. Un-XFAIL size-and-align.rs for rustc.
2011-03-11 13:44:24 -08:00
Patrick Walton
2ef5728722
rustc: Un-XFAIL generic-iter-frame.rs
2011-03-11 12:11:24 -08:00
Patrick Walton
a93ab2e1b1
Un-XFAIL test/run-pass/foreach-nested.rs and test/run-pass/foreach-nested-2.rs
2011-03-11 12:06:09 -08:00
Patrick Walton
37007a4d01
rustc: Populate the upvar environment when calling iterator bodies. Un-XFAIL test/run-pass/iter-range.rs.
2011-03-11 12:02:51 -08:00
Graydon Hoare
bc5a8393e7
Help extinguish fires.
2011-03-10 17:57:22 -08:00
Graydon Hoare
3aac5059ee
Move the glue code to a .o file. This reduces how much asm we print
...
in each "translation unit".
Part of it is not repetitive and should probably be moved to a .ll file, but
for now we autogen all of it.
(Modified somewhat by graydon while integrating).
2011-03-10 17:30:08 -08:00
Patrick Walton
60f86354ad
rustc: Use the generic info from the item in bind thunks just as calls do. Un-XFAIL drop-parametric-closure-with-bound-box.rs.
2011-03-10 15:14:45 -08:00
Patrick Walton
41d5094a8e
rustc: Fix off-by-one error and logic error regarding type parameters in the translation of bind expressions. Un-XFAIL bind-obj-ctor.rs.
2011-03-10 14:38:06 -08:00
Graydon Hoare
5f29988a2c
Add failing test for tag-leaking case.
2011-03-10 14:15:02 -08:00
Patrick Walton
7505c1fa23
rustc: Run cleanups on while expressions' condition blocks. Un-XFAIL while-prelude-drop.rs.
2011-03-10 11:46:37 -08:00
Graydon Hoare
8e8c336f93
Implement deep structural comparison through boxes and sequences.
2011-03-09 20:14:19 -08:00
Graydon Hoare
fb246e4e47
Un-XFAIL a couple export-related tests.
2011-03-09 19:01:13 -08:00
Patrick Walton
874e8e3505
rustc: Have tag patterns use the type parameter information from the typechecker instead of trying to deduce it in trans. Un-XFAIL test/run-pass/generic-tag-values.rs.
2011-03-09 17:50:46 -08:00
Patrick Walton
7dc64b45b5
rustc: Make tag pattern translation generic-aware. Un-XFAIL generic-tag-alt.rs.
2011-03-09 15:17:06 -08:00
Patrick Walton
5b7c3b8b5d
rustc: Typecheck the base part of record extension expressions. Un-XFAIL rec-extend.rs.
2011-03-08 17:34:41 -08:00
Graydon Hoare
1a05f99a10
Un-XFAIL obj-return-polytypes.rs
2011-03-08 17:25:34 -08:00
Patrick Walton
e62424944b
rustc: Have trans get the type parameters from the annotation instead of trying to deduce them itself. Un-XFAIL generic-fn-twice.rs.
2011-03-08 16:56:19 -08:00
Graydon Hoare
01bfc3ae8b
Fix generic-bind support for bound aliases and generics.
2011-03-08 16:32:39 -08:00
Patrick Walton
16344a0145
rustc: Re-XFAIL rec-extend.rs. The typechecker never assigned the path expr a type.
2011-03-08 14:50:50 -08:00
Graydon Hoare
27547c6514
Revert "Move the glue asm code to a .o file. This reduces how much asm we print"
...
This reverts commit 55c80e763b .
2011-03-08 13:20:16 -08:00