about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2011-12-14change syntax from lambda[send] to sendfnNiko Matsakis-82/+15
2011-12-14clone type desc into exchange heapNiko Matsakis-1/+4
2011-12-14restructure, temporarily working around what looks like an LLVM bugNiko Matsakis-3/+37
2011-12-14translate unique closure env betterNiko Matsakis-25/+49
2011-12-14remove unused optionsNiko Matsakis-15/+5
2011-12-14remove extra trailing semicolonNiko Matsakis-1/+1
2011-12-14restore old functionality for nowNiko Matsakis-7/+25
2011-12-14get basic code generation working, clone type descs for lambda[send]Niko Matsakis-33/+113
2011-12-14make fact that trans'ing lvar does not modify bcx explicit in typeNiko Matsakis-12/+19
2011-12-14sendable functions now "work", meaning pass through trans/typestateNiko Matsakis-2/+7
but they do not generate correct code
2011-12-14push changes through to get things compiling, if not running.Niko Matsakis-60/+103
2011-12-14first attempt, not happy with itNiko Matsakis-67/+62
2011-12-14define ty and update parser for sendable lambdasNiko Matsakis-7/+97
2011-12-14Register snapshotsBrian Anderson-0/+7
2011-12-14rustc: Always write split stack prologuesBrian Anderson-6/+4
2011-12-13rt: Add a FIXME to 32-bit __morestack about trashing %eaxBrian Anderson-1/+2
2011-12-13rt: Use %ecx instead of %eax during the second half of __morestackBrian Anderson-3/+5
If Rust code made use of return values then using %eax here would clobber it
2011-12-13Update LLVM. Fixes for segmented stacks with fastcc functionsBrian Anderson-0/+0
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-723/+5582
2011-12-13rt: Don't clobber fastcc argument registers in __morestackBrian Anderson-12/+15
2011-12-13llvm: Fix LLVM submodule revisionPatrick Walton-0/+0
2011-12-13stdlib: Fix spelling errors in documentation of libstd/str.rsPatrick Walton-6/+6
2011-12-13Attempt to fix windows builder.Graydon Hoare-2/+6
2011-12-13Merge branch 'master' of github.com:graydon/rustGraydon Hoare-311/+242
2011-12-13Register new snapshots and teach snapshot script to deal with extracting ↵Graydon Hoare-21/+10
new-style versioned snapshots.
2011-12-13Reorganize some code in typeckMarijn Haverbeke-305/+233
This should cut down a lot on the amount of closures being allocated, and removes some duplicated code.
2011-12-12fix track alloc codeNiko Matsakis-6/+9
2011-12-12rt: Remove some duplicated code from 64-bit __morestackBrian Anderson-12/+0
2011-12-12rustc: Work around a segmentation faultHaitao Li-24/+24
On Linux/Mac, I got a segmentation fault: (gdb) bt #0 0x00000000007519af in glue_take584 () #1 0x00000000006d4bec in back::rpath::get_rpath_flags::_3899df2ca513c603 () #2 0x00000000006c7655 in back::link::link_binary::_7afde00a9791031c () #3 0x00000000007d3ff5 in driver::rustc::compile_input::thunk9212 () #4 0x0000000000710f24 in driver::rustc::time::_3e691b2a4ba58aee () #5 0x000000000071a79d in driver::rustc::compile_input::_7b4a41b87c18e034 () #6 0x000000000072f0a9 in driver::rustc::main::_cd8b8c8185af3dee () #7 0x000000000072f1ed in _rust_main () #8 0x00007ffff7e6e146 in task_start_wrapper (a=<optimized out>) at ../src/rt/rust_task.cpp:176 The variable `output` or `out_filename` becomes (null) after the definition of `fn unlib`. Move the function defintion to the beginning seems prevent the crash on Linux.
2011-12-12rustc: Refactor and get built on WindowsHaitao Li-14/+12
2011-12-12rustc: Hash includes direct dependent cratesHaitao Li-3/+36
2011-12-12rustc: Encode crate hash into metadataHaitao Li-3/+21
2011-12-12build: Temp hack to make transition to new snapshotHaitao Li-1/+18
2011-12-12Update snapshot scripts to pick up the versioned librariesHaitao Li-9/+21
2011-12-12rustc: build versioned library with hash in its nameHaitao Li-12/+19
Also updated build to install versioned libraries and added a few missing actions for `make clean`.
2011-12-12Using filename when finding libraries for linkingHaitao Li-8/+22
Revert #999 commit 16dad84f7b2f173db012dda2e77b08ccb423391f
2011-12-12rt: Make unwinding through __morestack work on macBrian Anderson-3/+1
Had to bump the min stack size in some of the tests from 256 bytes to 1024 bytes. Not sure why yet.
2011-12-12rt: Write CFI instructions that (might) work on mac in __morestackBrian Anderson-0/+14
The DW_CFA_val_offset_sf instruction doesn't seem to work on mac, even after implementing it in the llvm-mc assembler, so now I'm looking for a different way to communicate the stack pointer adjustment to the unwinder.
2011-12-12Handle external-crate case when printing full unresolved pathsMarijn Haverbeke-5/+13
Closes #1283
2011-12-11Switch to the Rust fork of LLVM in preparation for enabling stack growthBrian Anderson-0/+0
2011-12-11rt: Make unwinding through __morestack work on macBrian Anderson-21/+9
Had to bump the min stack size in some of the tests from 256 bytes to 1024 bytes. Not sure why yet.
2011-12-11rt: Write CFI instructions that (might) work on mac in __morestackBrian Anderson-11/+35
The DW_CFA_val_offset_sf instruction doesn't seem to work on mac, even after implementing it in the llvm-mc assembler, so now I'm looking for a different way to communicate the stack pointer adjustment to the unwinder.
2011-12-11rt: Call upcall_fail on the C stackBrian Anderson-3/+1
2011-12-11rt: Add DWARF CFI info to asm_call_on_stackBrian Anderson-16/+57
This will allow the unwinder to unwind this function so we can call upcall_fail on the C stack.
2011-12-10build: Use llvm-mc as our assemblerBrian Anderson-4/+8
LLVM's assembler understands .cfi pseudo-ops on the mac, which we need in order to generate frames that can be DWARF-unwound
2011-12-09cargo: support github:<user>/<repo>Elly Jones-23/+18
2011-12-09cargo: support git:// URIs.Elly Jones-0/+14
2011-12-09cargo: don't stick an extra / in CARGO_ROOTElly Jones-1/+1
2011-12-09cargo: refactor a bitElly Jones-25/+39
2011-12-09cargo: support installing cratesElly Jones-19/+82
Introduce the notion of CARGO_ROOT to override HOME if need be. Build packages there instead of in /tmp. Install to CARGO_ROOT/bin and CARGO_ROOT/lib.