Commit Graph

1883 Commits

Author SHA1 Message Date
Graydon Hoare
65f6fcb23a Minor clarification. 2011-03-19 18:34:44 -07:00
Graydon Hoare
3e7ff65201 Truncate long lines in configure output. 2011-03-19 18:34:42 -07:00
Graydon Hoare
50c78313f2 Separate scan for commands used during configure. 2011-03-19 18:34:40 -07:00
Graydon Hoare
b56f4540e9 Probe for python, git, makeinfo and texi2pdf, but not sed. 2011-03-19 18:34:38 -07:00
Graydon Hoare
5d5b63adb9 Probe for llvm libdir as well. 2011-03-19 18:34:37 -07:00
Patrick Walton
277d42f589 rustc: Only declare each native function once. std.rc now links. 2011-03-19 17:33:46 -07:00
Patrick Walton
a1aad28690 rustc: Use the right block context to generate unary operands. std.rc compiles now. For realz. 2011-03-19 15:03:21 -07:00
Patrick Walton
8e597b295f rustc: Allow arguments to be captured as upvars. std.rc compiles now, except for the lack of a main fn. 2011-03-19 14:26:12 -07:00
Patrick Walton
c710c9a1b8 rustc: Do argument casts before loading aggregates, not after 2011-03-19 13:58:48 -07:00
Patrick Walton
3f2bae4449 rustc: Implement int-to-native casts 2011-03-18 18:49:59 -07:00
Patrick Walton
e6b6d1b645 rustc: Make trans_path() generic-safe wrt nullary tags 2011-03-18 18:45:49 -07:00
Patrick Walton
95dc89f012 rustc: Make iter_structural_ty_full() generic-safe wrt tags 2011-03-18 18:34:06 -07:00
Graydon Hoare
b7972d34ed Add support for building glue.o. 2011-03-18 18:33:22 -07:00
Graydon Hoare
29d7cb8833 Run rustc stages using proper LD_LIBRARY_PATH. 2011-03-18 18:33:22 -07:00
Graydon Hoare
02d18ccf31 Point valgrind suppressions file to srcdir. 2011-03-18 18:33:22 -07:00
Patrick Walton
8c48fae726 rustc: Do pointer casts when casting native types 2011-03-18 18:12:58 -07:00
Patrick Walton
9c0c0af1b2 rustc: Fix inference for auto slots (forgot to stage changes before) 2011-03-18 17:45:47 -07:00
Graydon Hoare
a599d80e98 Add rules for stage0/rustc to Makefile.in. 2011-03-18 17:44:40 -07:00
Graydon Hoare
874a7bfba2 Remove redundant slashes in Makefile.in. 2011-03-18 17:44:40 -07:00
Graydon Hoare
03e2e5963e Rename SUPPORT_INCS -> LLVM_INCS in Makefile.in. 2011-03-18 17:44:40 -07:00
Patrick Walton
082e5a5e5d rustc: Fix inference for auto slots. Add a test case. 2011-03-18 17:43:56 -07:00
Patrick Walton
f3b58947c0 rustc: Don't always build a constant multiply instruction when translating literal vectors; the size of the referent isn't always constant 2011-03-18 16:41:56 -07:00
Patrick Walton
533dea772f rustc: Move type_of() behind the check for dynamic size in trans_vec() 2011-03-18 16:34:22 -07:00
Patrick Walton
78bcfe28f2 rustc: Create global variable constants during the collection phase 2011-03-18 16:24:01 -07:00
Graydon Hoare
37cc67fbfe Get llvmext building in new Makefile.in. 2011-03-18 16:23:35 -07:00
Graydon Hoare
aab3916d47 Remove some whitespace. 2011-03-18 16:18:45 -07:00
Graydon Hoare
7055c3928c Make the llvmext dir in builddir from configure. 2011-03-18 16:06:45 -07:00
Graydon Hoare
c328ba1c54 Rename a couple CFG_LIB_NAME vars in Makefile.in 2011-03-18 16:06:15 -07:00
Patrick Walton
8ff77b14a9 rustc: Make iter_sequence() work with generic vectors 2011-03-18 16:04:16 -07:00
Patrick Walton
9ad9d3783d rustc: Fix list.foldl() to pass its second argument by alias 2011-03-18 15:19:32 -07:00
Patrick Walton
47d650e25b rustc: Box the tuples returned by hashmap.items() for now since we don't have alias iterators yet 2011-03-18 15:18:45 -07:00
Patrick Walton
ebee49314b rustc: Get type params from the item when translating native items 2011-03-18 15:01:45 -07:00
Patrick Walton
a9ba76d52a Fix bug in string comparison. std.rc typechecks now. 2011-03-18 14:15:27 -07:00
Patrick Walton
0cf16e77ca Add "mutable?" to _vec in the standard library; fix callers 2011-03-18 14:01:03 -07:00
Patrick Walton
368eb4bab6 Add some mutable variants of vector functions to the standard library 2011-03-18 13:53:49 -07:00
Patrick Walton
8b82a549bf rustc: When encountering "mutable" as a tycon, parse it, drop it on the floor, and emit a warning 2011-03-18 13:44:54 -07:00
Patrick Walton
8aa946ff5e Make some standard library pieces no longer dependent on mutable parameters, which rustc doesn't support 2011-03-18 13:32:15 -07:00
Patrick Walton
e8938f5fb2 rustc: Unify over alt expressions 2011-03-18 12:49:48 -07:00
Lindsey Kuper
6dee1ac161 Merge branch 'master' of git://github.com/graydon/rust 2011-03-18 12:32:54 -07:00
Patrick Walton
6f65ce5255 rustc: Add a span_unimpl() for debugging 2011-03-18 12:30:44 -07:00
Lindsey Kuper
830f2d02f1 Ignore emacs autosave files. 2011-03-18 12:15:33 -07:00
Patrick Walton
949ba9ca46 rustboot: Parse, and ignore, "mutable?" 2011-03-18 12:05:04 -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
Graydon Hoare
4c2245d842 Yet more painstaking configure/make logic. 2011-03-17 23:52:15 -07:00
Patrick Walton
5eca7129e3 rustc: Switch mutability from being a type constructor to a field annotation 2011-03-17 17:39:47 -07:00
Patrick Walton
ed96688be5 rustc: Typo: mutabliity -> mutability 2011-03-17 16:39:10 -07:00
Graydon Hoare
3ae9ca444c Move Makefile.in and configure to top level, BOOT_-qualify names, various tweaks. 2011-03-17 14:26:32 -07:00
Patrick Walton
67bac63aa3 rustc: Correctly report mutability when stringifying types 2011-03-17 11:54:00 -07:00
Patrick Walton
2ca66718ce rustc: Consider native types to be scalar 2011-03-17 11:46:21 -07:00
Patrick Walton
55587a554c rustc: Sort object methods when parsing textual types in the AST 2011-03-17 11:40:05 -07:00