aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a check for binding an alias. Good thing, as we had two instances in our ↵Graydon Hoare2010-11-084-2/+35
| | | | library.
* Fix linux burn caused by last commit on friday.Graydon Hoare2010-11-081-1/+1
|
* Update lltrans to also emit WinMain@16 on windows.Graydon Hoare2010-11-053-3/+10
|
* Translate ast.box unary expressions and support extraction of TypeRefs from ↵Graydon Hoare2010-11-051-3/+25
| | | | AST annotations.
* Move symbol prefix logic into separate function, add underscore prefix for ↵Graydon Hoare2010-11-051-4/+10
| | | | windows.
* Emit WinMain@16 entrypoint on windows.Graydon Hoare2010-11-051-1/+8
|
* Fix two incorrect block-context uses in rustc.Graydon Hoare2010-11-051-2/+2
|
* Teach rustc to generate type descriptors.Graydon Hoare2010-11-051-0/+13
|
* Switch rustc to llvm 2.8 rather than 2.8svn on windows.Graydon Hoare2010-11-051-1/+1
|
* rustboot: Report the alias-ness of function parameters in type errorsPatrick Walton2010-11-051-1/+6
|
* rustboot: If something that wasn't a type was found where a type was ↵Patrick Walton2010-11-051-1/+1
| | | | expected, report where the error was
* rustc: Implement function typesPatrick Walton2010-11-053-1/+60
|
* rustboot: Report mismatched effect qualifiersPatrick Walton2010-11-051-2/+5
|
* test_init_fn() in lib-vec.rs doesn't seem to segfault anymore. Un-XFAIL it.Patrick Walton2010-11-051-1/+1
|
* Move the option type to its own modulePatrick Walton2010-11-0514-93/+115
|
* rustboot: Report cyclic import errors at the right locationPatrick Walton2010-11-052-6/+9
|
* Revert "Move the option type to its own module"Patrick Walton2010-11-0511-68/+46
|
* rustboot: Describe the cycle when reporting a cyclic import errorPatrick Walton2010-11-051-1/+10
|
* Move the option type to its own modulePatrick Walton2010-11-0511-46/+68
|
* Fix buggy while and do-while translation in rustc. Add test.Graydon Hoare2010-11-044-12/+35
|
* rustboot: When resolving recursively, build up error messages recursively as ↵Patrick Walton2010-11-031-25/+35
| | | | well
* rustboot: Say exactly which name was unbound when reporting unbound name errorsPatrick Walton2010-11-034-52/+73
|
* rustc: Use an extensible annotation field instead of putting option[@ty] ↵Patrick Walton2010-11-034-89/+94
| | | | everywhere
* Fix documentation: it's (&str s) not (str &s).Ralph Giles2010-11-031-1/+1
|
* Fix doc references to 'for each' syntax to match the compiler.Ralph Giles2010-11-031-4/+4
| | | | | The rustboot compiler expects 'for each (type v in ...)' like 'for', rather than 'for each (type v = ...)' as given in the documentation.
* Make version.texi depend on rust.texi.Ralph Giles2010-11-031-1/+1
| | | | | | | | This will at least update the version string on the title page when the book source changes. It may not be entirely accurate since rust.texi may have uncommitted changes. But previously, it was basically only ever updated on the first build or after 'make clean'.
* Fix two documentation typos.Ralph Giles2010-11-031-2/+2
|
* Support while and do-while loops in rustc.Graydon Hoare2010-11-034-0/+116
|
* Teach rustc lexer about changes to stratum, opacity and effect keywords.Graydon Hoare2010-11-032-5/+21
|
* Code sketch and comment notes on textual crate signatures.Graydon Hoare2010-11-034-0/+244
|
* Shift obj, type, param decls to have strata rather than effects.Graydon Hoare2010-11-027-74/+112
|
* Split out stratum-checking pass, implement more-strict (overly aggressive) ↵Graydon Hoare2010-11-0216-143/+198
| | | | impure-effect checking.
* First pass on splitting stratum and opacity off of effects. WIP.Graydon Hoare2010-11-0241-215/+288
|
* Un-XFAIL self tests on DarwinPatrick Walton2010-10-281-3/+0
|
* Remove debug print message from the makefilePatrick Walton2010-10-281-2/+0
|
* Allow just the bootstrap LLVM backend to be disabled with NO_OCAML_LLVM=1Patrick Walton2010-10-281-13/+40
|
* rustboot: Emit an error instead of asserting in trans when a T is passed by ↵Patrick Walton2010-10-2811-17/+36
| | | | value
* Revert "rustboot: Emit an error instead of asserting in trans when a T is ↵Patrick Walton2010-10-282-21/+2
| | | | | | passed by value" due to test failures This reverts commit ee901858a27bf00c7dd66e7cfecb9dd97029dba8.
* rustboot: Emit an error instead of asserting in trans when a T is passed by ↵Patrick Walton2010-10-282-2/+21
| | | | value
* Merge branch 'gcc-4.5.1' of http://github.com/rillian/rustPatrick Walton2010-10-281-1/+1
|\
| * Cast NULL to uintptr_t when calling rust_task::start().Ralph Giles2010-10-281-1/+1
|/ | | | | | | | | On gcc 4.5.1 (fedora 14 i686) rust_test_runtime.cpp fails to compile with the following error: rt/test/rust_test_runtime.cpp:57:61: error: passing NULL to non-pointer argument 3 of ‘void rust_task::start(uintptr_t, uintptr_t, uintptr_t, size_t)’ The explicit cast works around the error.
* Emit a sensible error message if one or more of the parameters isn't enough ↵Patrick Walton2010-10-271-4/+9
| | | | context to instantiate a polymorphic function
* rustboot: Emit an error message instead of asserting on a type-param ↵Patrick Walton2010-10-272-6/+10
| | | | mismatch in tag constructors in patterns
* rustboot: For error reporting, map tag IDs to *tag* names, not to tag ↵Patrick Walton2010-10-261-4/+5
| | | | *variant* names
* rustboot: Use a less hacky method to report tag names in error messages, ↵Patrick Walton2010-10-262-36/+10
| | | | which works for resolve errors as well
* Thread a source location though for type error reporting instead of the ↵Patrick Walton2010-10-251-10/+11
| | | | awful "List.hd scopes" hack
* Merge commit '1875a36feecb7dab183a59ead2d0a342f733422e'Patrick Walton2010-10-251-1/+2
|\
| * Prevent Not_found in the unfortunate case when we have to ↵Patrick Walton2010-10-251-1/+2
| | | | | | | | "friendly_stringify" a tag type we haven't yet recorded into cx.ctxt_all_tag_info
* | Long line police.Graydon Hoare2010-10-221-3/+5
| |
* | Pass outptr as in rustboot. Probably need to revisit this ABI. Also ↵Graydon Hoare2010-10-221-5/+18
| | | | | | | | disgusting hack employed. Please remove.