summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-10-21Windows build fixesJohn Hodge2-2/+2
2018-10-19Codegen C - Fix incorrect use of ZST in enum constructor shim (fixes #86)John Hodge1-1/+1
2018-09-30Merge pull request #84 from thepowersgang/ondemand-generationJohn Hodge (Mutabah)29-1928/+842
Generate MIR when required for constant evaluation
2018-09-30Codegen C - Run destructors on ZSTs in enumsJohn Hodge1-7/+8
2018-09-22Misc - Fix some failing testsJohn Hodge3-3/+11
2018-09-22Codegen C - Fix incorrect destructor for zst enum variantsJohn Hodge1-2/+6
2018-09-22All - Generate MIR for constant evaluation (has too many const_cast calls, ↵John Hodge26-1922/+823
but it's less ugly) - Also includes some MIR optimisation changes to reduce some compile times (hopefully) - Removed duplicated MIR consteval and now-unused HIR consteval
2018-09-09Msvc compile fixesJohn Hodge6-32/+63
2018-08-21Codegen C - Fix literals and omitted variantsJohn Hodge1-5/+5
2018-08-20Trans - Fix size/alignment mismatches on x86John Hodge2-27/+113
2018-08-19Codegen C - Fix bad prototype for Drop::dropJohn Hodge1-2/+2
2018-08-18Codegen C - Fix some i128 overflow calculationJohn Hodge1-4/+8
2018-08-17Codegen C - Fix emulated i128 multiply/divideJohn Hodge1-22/+41
2018-08-12Codegen C - Very basic panic handling (doesn't unwind, but does get caught)John Hodge1-0/+53
2018-08-12MIR From HIR - Fix incorrect types in `<-` loweringJohn Hodge1-1/+1
2018-08-12HIR From AST - Don't set linkage on locally-defined functions when making a ↵John Hodge1-2/+20
test harness
2018-08-12Target - Set alignment for u64/i64 to 4 on 32-bit platforms (fixes #78)John Hodge1-3/+4
2018-08-05Add version number (0.8 for now, because altough not stable, it works...)John Hodge3-0/+56
2018-08-04proc_macro - Add a hacky way of dumping input to the child process (for ↵John Hodge1-0/+11
debugging)
2018-07-08Codegen C - Fix a minor ABI issue for x86, fix emulated i128 a bitJohn Hodge1-9/+38
2018-07-05Codegen C - Implement some more parts of i128 emulationJohn Hodge1-2/+47
2018-07-04All - Dump full contents of asm! in AST/MIRJohn Hodge6-27/+88
2018-07-04string_view - Fix buggy comparisonJohn Hodge1-1/+1
2018-07-04HIR Serialise - Fix ordering of MIR Asm input/outputsJohn Hodge1-1/+1
2018-07-01Codegen C - Replace tUNIT by `void` (fixes FFI issues)John Hodge1-19/+58
2018-07-01Codegen C - Avoid &* pattern in reborrowsJohn Hodge1-7/+5
2018-07-01HIR/MIR - Truncate usize constants to 32-bits on 32-bit machinesJohn Hodge2-1/+30
2018-06-30HIR Expand VTable - Fix incorrect associated type lookupsJohn Hodge2-3/+16
2018-06-30HIR Lower - Stub support repr(simd), fixes #78John Hodge3-0/+13
2018-06-27Add FreeBSD and DragonFly targetsGreg V2-5/+50
Also adjust macOS comment. FreeBSD also uses clang and lld (current dev version even uses lld as /usr/bin/ld), function-sections/gc-sections are very well supported. It's probably a Mach-O issue on Macs.
2018-06-27Move src/include/string_view.hpp into own namespaceGreg V2-4/+5
libc++ offers std::string_view regardless of -std flag, so defining a custom std::string_view results in a conflict. This one is actually not a precise clone of the real one (uses two pointers instead of pointer+length).
2018-06-24Expand derive - Slight restructure to allow Copy/Clone magicJohn Hodge1-102/+123
2018-06-24Main - Emit a warning when an unknown phase is included in MRUSTC_DEBUGJohn Hodge1-6/+15
2018-06-04All - Ensure that all files have a header comment, remove some dead codeJohn Hodge57-287/+368
2018-06-04MIR Helpers - Handle ItemAddr to enum/struct constructorsJohn Hodge5-5/+81
2018-06-03Trans C - Add configuration for linker argsJohn Hodge3-30/+114
2018-06-03All - Move host target auto-detection to be common between compiler and ↵John Hodge1-62/+4
minicargo
2018-06-03Trans - Fix some minor errors from building with clangJohn Hodge2-0/+11
2018-06-03Trans - Fix target_os for macJohn Hodge1-1/+1
2018-06-02AST - Remove old serialisation code (now all done on HIR)John Hodge17-758/+9
2018-06-02HIR Serialise - Explicitly serialise tokens (instead of using ancient code)John Hodge4-18/+57
2018-06-02All - Warning cleanup when built with clangJohn Hodge8-10/+11
2018-06-02Clang Compile FixJohn Hodge1-1/+1
2018-06-02OSX Build Tweak - environ definitionJohn Hodge1-1/+1
2018-06-02Targets - Add a rough OSX targetJohn Hodge2-4/+25
2018-06-02AST - Annotate all patterns with spansJohn Hodge6-179/+194
2018-06-02Misc - Clean up/triage some testsJohn Hodge1-0/+3
2018-05-27MIR Optimise - Propagate constants into callsJohn Hodge1-0/+6
2018-05-27Include - Add missing fileJohn Hodge1-0/+89
2018-05-27AST - Fix missing handling of `for<>` in a few placesJohn Hodge4-19/+36