aboutsummaryrefslogtreecommitdiff
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
...
* shootout: Hoist out the vector indexing on nbody; don't rely on LICM, which ↵Patrick Walton2011-03-261-19/+21
| | | | isn't working for some reason (insufficient alias info?) Speeds up nbody a bit.
* Got the nbody demo working, and hopefully faster, too!Lindsey Kuper2011-03-261-106/+112
|
* Updates to the nbody demo.Lindsey Kuper2011-03-261-38/+47
|
* Switch xfail system to use comments embedded in source files.Graydon Hoare2011-03-25161-0/+189
|
* Parse FP literals without coercing to int. This allows parsing 64-bitTim Chevalier2011-03-251-0/+8
| | | | | | floats. However, if someone writes a literal that can't be represented precisely in 64 bits, the front-end will accept it while the back-end will (presumably) complain.
* Add test for local declarations with receive. XFAIL in rustc.Brian Anderson2011-03-251-0/+14
|
* Start making the standard-lib utf-8 awareMarijn Haverbeke2011-03-251-0/+32
| | | | | | Finally implements _str.is_utf8, adds from_chars, from_char, to_chars, char_at, char_len, (push|pop|shift|unshift)_char. Also, proper character I/O for streams.
* A first stab at the 'nbody' demo, with support for calling C sqrt().Lindsey Kuper2011-03-251-0/+209
|
* Support for 'float' in type signatures.Lindsey Kuper2011-03-231-0/+10
|
* Further support for floating-point. Literals with exponents workTim Chevalier2011-03-221-0/+23
| | | | | | 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).
* Add a test case for empty mutable vector literals, XFAIL'd in rustbootPatrick Walton2011-03-221-0/+4
|
* Added test case for floatsTim Chevalier2011-03-221-0/+9
|
* Add some nesting to the else-if test caseBrian Anderson2011-03-221-1/+24
|
* Add test for sending strings over channelsBrian Anderson2011-03-221-0/+17
|
* Add a regression test for channels of nil, which happens to work in rustc, ↵Brian Anderson2011-03-221-0/+17
| | | | but not in rustboot
* Generalize send/recv to work for more typesBrian Anderson2011-03-221-0/+105
|
* rustc: Fix inference for auto slots. Add a test case.Patrick Walton2011-03-181-0/+6
|
* rustc: Implement "mutable?". Add a test case and XFAIL it in rustboot for now.Patrick Walton2011-03-181-0/+17
|
* rustc: Add str_from_cstr() and str_from_buf() functions to the standard ↵Patrick Walton2011-03-161-0/+14
| | | | library, as well as a test case
* Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare2011-03-164-20/+5
| | | | Tweak std lib vec fns in process.
* Add fannkuchredux shootout benchmarkBrian Anderson2011-03-141-0/+99
|
* Rename binary trees benchmark to match the original shootout sourceBrian Anderson2011-03-141-0/+0
|
* Implement the rest of the binary trees shootout benchmarkBrian Anderson2011-03-141-0/+56
|
* Add _int.powBrian Anderson2011-03-141-0/+11
|
* Remove broken 99-bottles makefile and run scriptBrian Anderson2011-03-142-23/+0
|
* Integrate shootout benchmarks into testsuiteBrian Anderson2011-03-141-5/+5
|
* Split trans' collection in two passes. This allows us to handle tagsRafael Ávila de Espíndola2011-03-141-0/+13
| | | | | | that are defined after use in a block. This is really inefficient, but for now it lets us compile the included test.
* Add failing test for tag-leaking case.Graydon Hoare2011-03-101-0/+9
|
* Implement deep structural comparison through boxes and sequences.Graydon Hoare2011-03-092-0/+20
|
* rustc: Make test/run-pass/generic-tag-alt.rs valid Rust; it was passing a ↵Patrick Walton2011-03-091-1/+1
| | | | dynamically-sized value by value instead of by alias
* rustc: Have demand_pat() extract type parameters from tags. Add a test case.Patrick Walton2011-03-091-0/+11
|
* rustc: Substitute type parameters in type_of_variant(). Add a test case.Patrick Walton2011-03-091-0/+8
|
* rustc: Don't try to load dynamically-sized types when translating tag ↵Patrick Walton2011-03-091-0/+7
| | | | variants. Add a test case for this.
* Fix generic-bind support for bound aliases and generics.Graydon Hoare2011-03-082-3/+10
|
* Most of the way through genericizing bind properly with new malloc path. ↵Graydon Hoare2011-03-071-2/+7
| | | | Still getting the thunk call wrong.
* Modernize test/run-pass/generic-recursive-tag.rs. Un-XFAIL it in rustboot.Patrick Walton2011-03-071-3/+4
|
* Poison ty_param values in trans; fix buggy parametric obj and box malloc ↵Graydon Hoare2011-03-071-0/+8
| | | | paths. Add generic-box test.
* Change io.fileflag to a tag type. Remove FIXMEBrian Anderson2011-03-061-1/+1
|
* Rewrite rustboot's flow-graph wiring passes to be less awful. Add test for ↵Graydon Hoare2011-03-031-0/+26
| | | | nested control-flow constructs.
* Add more #fmt testsBrian Anderson2011-03-021-0/+3
|
* Parse parameter types for fmt extensionBrian Anderson2011-03-021-6/+5
|
* Add fold, typecheck and trans for expr_extBrian Anderson2011-03-021-2/+3
|
* Begin work on #fmt parsingBrian Anderson2011-03-021-3/+3
|
* Begin implementing #fmt in rustcBrian Anderson2011-03-021-2/+10
|
* Revert "rustc: Push type parameters down through alt tag patterns; add a ↵Patrick Walton2011-02-251-19/+0
| | | | | | test" due to valgrind failures This reverts commit 7a1d01effcfa5763bc62aefba40f67ad2130d28d.
* rustc: Push type parameters down through alt tag patterns; add a testPatrick Walton2011-02-251-0/+19
|
* Cast more aggressively to the callee type when calling generic functions. ↵Patrick Walton2011-02-241-0/+9
| | | | Add a test-case for this, and XFAIL it in rustboot.
* Revert "Cast more aggressively to the callee type when calling generic ↵Patrick Walton2011-02-241-9/+0
| | | | | | functions. Add a test-case for this, and XFAIL it in rustboot." due to test failures This reverts commit 0a65283c5eeae0b98fff7d213dbaad59889e677e.
* Cast more aggressively to the callee type when calling generic functions. ↵Patrick Walton2011-02-241-0/+9
| | | | Add a test-case for this, and XFAIL it in rustboot.
* Parse the abi in native modules.Rafael Ávila de Espíndola2011-02-231-0/+9
|