about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2011-12-06Add --no-core option and inject a use core/import core::* pair into crate ↵Graydon Hoare-0/+33
unless it's given.
2011-12-06Fix next-node-id "hackasaurus" in comp/front/test.rs.Graydon Hoare-37/+25
2011-12-06Merge branch 'master' of github.com:graydon/rustNiko Matsakis-81/+573
2011-12-06libstd: Update docsBrian Anderson-13/+177
2011-12-06Rename --noverify flag to --no-verify.Graydon Hoare-3/+3
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-0/+17
2011-12-06Make valgrind usage more consistent and less error prone.Austin Seipp-11/+5
I was still having issues with the build system somehow getting confused as to which set of valgrind headers to use when compiling rt. This commit moves all the valgrind headers into their own directory under rt and makes the usage more consistent. The compiler is now passed the -DNVALGRIND flag when valgrind is not installed, as opposed to passing -DHAVE_VALGRIND. We also pass -I src/rt to the compiler when building rt so you can more easily import what you want. I also cleaned up some erroneous #includes along the way. It should be safe to always just import the local valgrind headers and use them without question. NVALGRIND turns the operations to no-ops when it is active, and the build and tests run cleanly with or without.
2011-12-05test: More tests for unwinding + morestackBrian Anderson-3/+43
2011-12-05rt: Make stack unwinding work more correctly with stack growthBrian Anderson-2/+40
2011-12-05test: Test hitting the dynamic linker in the red zoneBrian Anderson-3/+91
2011-12-05rt: Use an out pointer for rust_new_stackBrian Anderson-14/+31
upcall_call_shim_on_c_stack does not handle return values
2011-12-05correct the use of 'sed -i'Niko Matsakis-3/+4
2011-12-05test: Add more tests for stack growthBrian Anderson-3/+137
2011-12-05rt: Unwind through __morestack on 32-bit linuxBrian Anderson-0/+24
2011-12-05rustc: Remove whitespaceBrian Anderson-1/+1
2011-12-05rustc: Add suffix ".rc" to LLVM module identifierHaitao Li-1/+19
LLVM code generator emits the ".file filename" directive for ELF backends. Value of the "filename" is set as the LLVM module identifier. Due to a LLVM MC bug[1], LLVM crashes if the module identifer is same as other symbols such as a function name in the module. This patch adds a ".rc" suffix (means crates) to LLVM module identifier to workaround the bug. Fixes issue #1251. 1. http://llvm.org/bugs/show_bug.cgi?id=11479
2011-12-04rt: Update 32-bit __morestack for recent LLVM changesBrian Anderson-20/+24
2011-12-05typeck: Fix for #932Stefan Plantikow-0/+18
2011-12-04Upgrade LLVM to svn revision 145779Brian Anderson-63/+19
This pulls in commits 145765 & 145766, which are required for split stacks.
2011-12-05rustc: Fix memory leak in do-while loopHaitao Li-2/+13
Issue #1257
2011-12-02rt: Implement 32-bit __morestack for macBrian Anderson-21/+63
2011-12-02rt: Fix __morestack prologue on x86_64 macBrian Anderson-1/+1
2011-12-02build: added CFG_INSTALL_SNAP for automatically activating test snapshotsStefan Plantikow-2/+36
This is only guaranteed to work when building in the top-level dir
2011-12-02const_check: trans: added support for trivial castsStefan Plantikow-0/+26
Part of #1215
2011-12-02parse: typeck: enabling trivial casts of tail-call return valuesStefan Plantikow-47/+124
introduces ctypes::m_* machine type aliases for int, uint, float depending on cfg(target_arch) that are used in tests
2011-12-02ty: trans: added support for dropping trivial castsStefan Plantikow-5/+33
2011-12-02ty: added type comparison that subs prim types with targ_cfg machine typesStefan Plantikow-0/+37
2011-12-02stdlib: Actually write the word 'fail' instead of just thinking itBrian Anderson-0/+1
2011-12-02stdlib: Add issue number to win32 fsync FIXMEBrian Anderson-1/+1
2011-12-02stdlib: Win32 fsync is just failBrian Anderson-3/+1
No fsync function on windows. Needs custom implementation.
2011-12-02Added cross-platform fsync api to io; win32 impl needs to be refinedStefan Plantikow-13/+147
No tests, need mktmpfile first
2011-12-02Be less specific in 'unresolved import' error patternsMarijn Haverbeke-6/+6
To make sure different test set-ups (check-fast) don't cause the tests to fail.
2011-12-02Disable a test that's failing on 32-bit due to imprecise literal handlingMarijn Haverbeke-1/+2
7655b3c0c673a6857ccf94835f6cedbe778a8667 (re-)introduced the problem
2011-12-02Include full module path in unresolved errors when looking in moduleMarijn Haverbeke-28/+61
Closes #1228
2011-12-02Make import ignore imports coming after themMarijn Haverbeke-17/+57
This broke no code at all, so I guess people were already writing imports in this style. Issue #1228
2011-12-02Finally make the -1 crate id in resolve.rs a constMarijn Haverbeke-10/+7
2011-12-02Stop lexing -1 as a single tokenMarijn Haverbeke-62/+3
And remove the hack that made 1-1 work given that other hack. Issue #954
2011-12-02Allow literal patterns to contain arbitrary literal expressionsMarijn Haverbeke-128/+175
This removes the need for the unary minus hacks, and allows some other neat things like matching on 1 >> 4. Issue #954
2011-12-01rt: Fix 64-bit linux __morestackBrian Anderson-2/+26
2011-12-01test: Don't fill queue in run-pass/send-iloop. Closes #1244Brian Anderson-0/+3
2011-12-01cargo: support build-from-sourceElly Jones-7/+36
No install yet.
2011-12-01rt: Implement __morestack for 64-bit mac. Doesn't unwind yetBrian Anderson-10/+5
2011-12-01rt: Implement record_sp for 64-bit macBrian Anderson-1/+8
2011-12-01fix name of SetCurrentDirectoryNiko Matsakis-2/+2
2011-12-01libstd: add fs::change_dir()Elly Jones-0/+18
2011-12-01rt: Move RED_ZONE_SIZE to rust_task.cppBrian Anderson-9/+10
2011-12-01rt: Add FIXME's about future changes to LLVM's __morestack implBrian Anderson-0/+5
2011-12-01rt: Refactor record_sp into task::record_stack_limitBrian Anderson-6/+8
2011-12-01Build infra and minor build-enabling bugfixes for cargo.Graydon Hoare-6/+16
2011-12-01cargo: add start of rust rewriteElly Jones-0/+135