Eric Holk
|
7c57b8baf5
|
Updating rustrt.def.in so that the path manipulation functions work on OS X.
|
2011-06-17 15:53:20 -07:00 |
|
Eric Holk
|
9adacfb26a
|
Adding a test case for getcwd and related functions.
|
2011-06-17 15:53:20 -07:00 |
|
Eric Holk
|
a40116b398
|
stdlib: added getcwd and a convenience function to make relative paths absolute. This will be helpful for #441.
|
2011-06-17 15:53:19 -07:00 |
|
Brian Anderson
|
175fd8ee73
|
Update snapshot scripts to understand new dir layout
|
2011-06-17 15:39:58 -07:00 |
|
Eric Holk
|
2c1b269960
|
Implemented enough of deep_copy that we can pass scalars and channels to tasks. Closes #507.
|
2011-06-17 15:17:46 -07:00 |
|
Eric Holk
|
81fc51a8d7
|
Started using deep_copy for spawn arguments.
|
2011-06-17 15:17:46 -07:00 |
|
Eric Holk
|
71e1db596c
|
Added a test case for #507
|
2011-06-17 15:17:46 -07:00 |
|
Brian Anderson
|
6e6bc5076c
|
rustc: Support both meta tags and attributes for crate metadata
This is a transitional patch for converting from 'meta' to attributes.
Issue #487
|
2011-06-17 15:07:34 -07:00 |
|
Brian Anderson
|
81a187e8be
|
rustc: Remove metadata from the session.
This mechanism was not being used for anything. Issue #487.
|
2011-06-17 14:46:59 -07:00 |
|
Rafael Ávila de Espíndola
|
374967f67e
|
Fix library path when running tests.
|
2011-06-17 16:13:12 -04:00 |
|
Rafael Ávila de Espíndola
|
fc31c90b5c
|
Break long lines.
|
2011-06-17 15:49:23 -04:00 |
|
Rafael Ávila de Espíndola
|
342dbd7abe
|
Put std in stageN/lib. This avoids windows trying to load stageN/std.ll when
stageN/runstc.exe is run.
|
2011-06-17 15:34:59 -04:00 |
|
Patrick Walton
|
e43a3755dd
|
rustc: Add a type_owns_heap_mem() predicate
|
2011-06-17 12:32:18 -07:00 |
|
Patrick Walton
|
dfb806b367
|
rustc: Cast to opaque interior vector types in trans_vec_append if necessary. Puts out burning tinderbox.
|
2011-06-17 12:23:04 -07:00 |
|
Patrick Walton
|
4918c99f69
|
rustc: Copy the contents of generic interior vectors
|
2011-06-17 12:22:53 -07:00 |
|
Patrick Walton
|
4bb7597542
|
Revert "rustc: Copy the contents of generic interior vectors"
This reverts commit 5bdbe1dfc2 .
|
2011-06-17 12:03:21 -07:00 |
|
Patrick Walton
|
5bdbe1dfc2
|
rustc: Copy the contents of generic interior vectors
|
2011-06-17 11:45:51 -07:00 |
|
Brian Anderson
|
e8228e1260
|
rustc: Demand that if conditions have bool type
Closes #513
|
2011-06-17 11:35:00 -07:00 |
|
Brian Anderson
|
a4d88dacc9
|
rustc: Fail to unify if two ty_vars don't unify
Closes #500
|
2011-06-17 11:35:00 -07:00 |
|
Brian Anderson
|
2a69db5b76
|
test: Fix mismatched types in prep for typechecker fixes
Issue #500
|
2011-06-17 11:35:00 -07:00 |
|
Brian Anderson
|
753da64fd6
|
rustc: Demand unification of both sides of a binop
Issue #500
|
2011-06-17 11:35:00 -07:00 |
|
Rafael Ávila de Espíndola
|
1dbc0442cd
|
Automatically add a -L to the directory the binary is in.
|
2011-06-17 13:36:08 -04:00 |
|
Patrick Walton
|
982f51aa95
|
stdlib: Fix reserve on zero-length interior vectors; uncomment test_unsafe_ptrs()
|
2011-06-16 18:01:57 -07:00 |
|
Paul Stansifer
|
391348ec86
|
Consistify ast::local.
|
2011-06-16 17:56:24 -07:00 |
|
Patrick Walton
|
d47101703e
|
stdlib: Sketch out ivec::init_fn, currently segfaulting
|
2011-06-16 17:48:59 -07:00 |
|
Patrick Walton
|
ab7ebb608a
|
rustc: Fix dominance issue when translating generic interior vectors
|
2011-06-16 17:48:32 -07:00 |
|
Brian Anderson
|
a68a5c9b5e
|
Disable lib-ivec's test_unsafe_ptrs. Not working here
|
2011-06-16 17:34:39 -07:00 |
|
Brian Anderson
|
6f4326c54d
|
Add better error messages for bad attributes in .rc files
Issue #487
|
2011-06-16 17:23:20 -07:00 |
|
Brian Anderson
|
fc12577fdd
|
Add makefile rules to run compile-fail tests on .rc files
There's even more duplication now, but I'm reluctant to touch it since it's
easy to subtly break the build rules
|
2011-06-16 17:23:20 -07:00 |
|
Brian Anderson
|
4b8fba5f34
|
rustc: Fix regressed handling of bad attributes
Issue #487
|
2011-06-16 17:23:20 -07:00 |
|
Brian Anderson
|
ffa7c76ed2
|
rustc: Change print_file to print_crate
The pretty-printer needs access to the crate attributes in order to reproduce
inner crate attributes in standalone .rs files
Issue #487
|
2011-06-16 17:23:20 -07:00 |
|
Brian Anderson
|
e83a115d79
|
rustc: Parse crate attributes in standalone .rs files
Issue #487
|
2011-06-16 17:23:20 -07:00 |
|
Brian Anderson
|
ffae642663
|
rustc: Parse attributes in crate files
Issue #487
|
2011-06-16 17:23:20 -07:00 |
|
Brian Anderson
|
62939e41b2
|
rustc: Parse inner items of file-level modules linked from crate files
Issue #487
|
2011-06-16 17:23:20 -07:00 |
|
Patrick Walton
|
40746fa447
|
rustc: Implement conversions from interior vector data to unsafe pointers and vice-versa
|
2011-06-16 17:07:02 -07:00 |
|
Patrick Walton
|
e50c918e6b
|
rustc: Implement type walking and comparison glue for unsafe pointers
|
2011-06-16 17:07:02 -07:00 |
|
Graydon Hoare
|
b84fffaa4e
|
Reformat a bunch of recent churn.
|
2011-06-16 16:55:46 -07:00 |
|
Graydon Hoare
|
eb9969f546
|
Add support for marking files no-reformat.
|
2011-06-16 16:42:29 -07:00 |
|
Patrick Walton
|
050f62983d
|
stdlib: Introduce an ivec module into the standard library; add a minimal test case
|
2011-06-16 16:08:26 -07:00 |
|
Patrick Walton
|
94cd2985b2
|
rustc: Parse T[mutable?]
|
2011-06-16 15:17:06 -07:00 |
|
Patrick Walton
|
d90ad442b4
|
rustc: Work around leak when translating interior vectors. Un-XFAIL interior-vec.rs.
|
2011-06-16 15:07:21 -07:00 |
|
Patrick Walton
|
5b341443da
|
test: Add an interior-vec test case, XFAIL'd for now because of leaks in the compiler
|
2011-06-16 14:30:10 -07:00 |
|
Patrick Walton
|
e7575b9f3a
|
rustc: Add cases for istr and ivec to visit
|
2011-06-16 14:26:11 -07:00 |
|
Brian Anderson
|
834f90f2a0
|
StageN tests run against stageN libraries
|
2011-06-16 14:21:43 -07:00 |
|
Brian Anderson
|
99301ff830
|
test: Add a test for outer attributes on the first module in a file
Issue #487
|
2011-06-16 14:21:43 -07:00 |
|
Brian Anderson
|
b727d079ed
|
rustc: Pretty print module inner attributes
Issue #487
|
2011-06-16 14:21:43 -07:00 |
|
Brian Anderson
|
43cbbabccb
|
rustc: Correctly mark attributes as inner attributes
Issue #487
|
2011-06-16 14:21:43 -07:00 |
|
Brian Anderson
|
f3996d32b0
|
rustc: Parse inner attributes of modules
Issue #487
|
2011-06-16 14:21:42 -07:00 |
|
Brian Anderson
|
0efd7fac8a
|
stdlib: Add option::is_some
|
2011-06-16 14:21:42 -07:00 |
|
Tim Chevalier
|
49a4867da6
|
Pretty-print if-check
|
2011-06-16 14:08:48 -07:00 |
|